Annotation Type EreignisHandhaber


@Target(METHOD) @Retention(RUNTIME) public @interface EreignisHandhaber
An annotation to mark methods as being ereignis handler methods
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Define if the handler ignores a cancelled ereignis.
    Define the priority of the ereignis.
  • Element Details

    • priority

      Define the priority of the ereignis.

      First priority to the last priority executed:

      1. LOWEST
      2. LOW
      3. NORMAL
      4. HIGH
      5. HIGHEST
      6. MONITOR
      Returns:
      the priority
      Default:
      NORMAL
    • ignoreCancelled

      boolean ignoreCancelled
      Define if the handler ignores a cancelled ereignis.

      If ignoreCancelled is true and the ereignis is cancelled, the method is not called. Otherwise, the method is always called.

      Returns:
      whether cancelled events should be ignored
      Default:
      false