Annotation Type Exclude

  • @Target(METHOD)
    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>[] value
      Gets the event types to exclude.
    • Element Detail

      • value

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