Annotation Interface HandlerOrder


@Target(METHOD) @Retention(RUNTIME) @Documented public @interface HandlerOrder
Annotation to define the order of event handler methods within an event phase
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
    Steps to define the order sequence between event handler methods
    static final int
    The default order value
    static final int
    Order value to execute the event handler method before other event handlers
    static final int
    Order value to execute the event handler method after other event handlers
  • Field Details

    • EARLY

      static final int EARLY
      Order value to execute the event handler method before other event handlers
      See Also:
    • DEFAULT

      static final int DEFAULT
      The default order value
      See Also:
    • LATE

      static final int LATE
      Order value to execute the event handler method after other event handlers
      See Also:
    • BEFORE

      static final int BEFORE
      Steps to define the order sequence between event handler methods
      See Also:
    • AFTER

      static final int AFTER
      See Also:
  • Element Details

    • value

      int value
      Returns:
      The order value.