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.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?>[] value
      Gets the included event types.
    • Element Detail

      • value

        java.lang.Class<?>[] value
        Gets the included event types.
        Returns:
        The event types