Annotation Type Exclude
-
@Target(METHOD) @Retention(RUNTIME) public @interface Exclude
Filters out all specified event types. This allows listening for a supertype event and filtering to only receive events not from a specific subset of the annotated event's subtypes.This annotation cannot be specified in addition to the
Include
annotation.
-
-
Element Detail
-
value
java.lang.Class<? extends Event>[] value
Gets the event types to exclude.- Returns:
- The event types
-
-