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