Annotation Interface 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.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Event>[]
    Gets the event types to exclude.
  • Element Details

    • value

      Class<? extends Event>[] value
      Gets the event types to exclude.
      Returns:
      The event types