Annotation Interface Subscribe


@Retention(RUNTIME) @Target(METHOD) public @interface Subscribe
Event Listener Method Annotation
Methods annotated by this and registered will be called when the event is run
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    short
    Defines when this method should run in the stack
    boolean
    If this method should be called even after the event has been cancelled
  • Element Details

    • order

      short order
      Defines when this method should run in the stack
      Returns:
      Listener Order
      See Also:
      Default:
      0
    • override

      boolean override
      If this method should be called even after the event has been cancelled
      Returns:
      Override Status
      Default:
      false