Enum EventPriority

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EventPriority>, java.lang.constant.Constable

    public enum EventPriority
    extends java.lang.Enum<EventPriority>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      HIGH
      Events with the HIGH priority are executed after all events with the HIGHEST priority have been executed.
      HIGHEST
      Events with the HIGHEST priority are always executed first.
      LOW
      Events with the LOW priority are executed after all events with the NORMAL priority have been executed.
      LOWEST
      Events with the LOWEST priority are always executed last.
      NORMAL
      Events with the NORMAL priority are executed after all events with the HIGH priority have been executed.
    • Method Summary

      Modifier and Type Method Description
      static EventPriority valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static EventPriority[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • LOWEST

        public static final EventPriority LOWEST
        Events with the LOWEST priority are always executed last.
      • LOW

        public static final EventPriority LOW
        Events with the LOW priority are executed after all events with the NORMAL priority have been executed.
      • NORMAL

        public static final EventPriority NORMAL
        Events with the NORMAL priority are executed after all events with the HIGH priority have been executed.
      • HIGH

        public static final EventPriority HIGH
        Events with the HIGH priority are executed after all events with the HIGHEST priority have been executed.
      • HIGHEST

        public static final EventPriority HIGHEST
        Events with the HIGHEST priority are always executed first.
    • Method Detail

      • values

        public static EventPriority[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EventPriority valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null