Enum Class SubscribeEvent.Priority

java.lang.Object
java.lang.Enum<SubscribeEvent.Priority>
org.omegazero.common.eventbus.SubscribeEvent.Priority
All Implemented Interfaces:
Serializable, Comparable<SubscribeEvent.Priority>, Constable
Enclosing class:
SubscribeEvent

public static enum SubscribeEvent.Priority extends Enum<SubscribeEvent.Priority>
Contains priority values for SubscribeEvent.priority().
  • Enum Constant Details

  • Method Details

    • values

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

      public static SubscribeEvent.Priority valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public int value()
      The int value of this Priority value.
      Returns:
      The numeric value