Annotation Interface Pulse


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface Pulse
Annotation for methods that listen to and handle FlectonePulse events.
Since:
1.2.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether this listener should ignore already cancelled events.
    The execution priority of this event listener.
  • Element Details

    • priority

      Event.Priority priority
      The execution priority of this event listener. Listeners with lower priority values are executed first. Default is Event.Priority.NORMAL.
      Returns:
      the listener priority
      See Also:
      Default:
      NORMAL
    • ignoreCancelled

      boolean ignoreCancelled
      Whether this listener should ignore already cancelled events. If true, the listener will not be called if the event was cancelled earlier.
      Returns:
      true to ignore cancelled events
      Default:
      false