Enum ChainPriority
- java.lang.Object
-
- java.lang.Enum<ChainPriority>
-
- io.manebot.command.executor.chained.ChainPriority
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ChainPriority>
,java.lang.constant.Constable
public enum ChainPriority extends java.lang.Enum<ChainPriority>
-
-
Method Summary
Modifier and Type Method Description int
getOrdinal()
static ChainPriority
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ChainPriority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ChainPriority NONE
-
LOW
public static final ChainPriority LOW
-
HIGH
public static final ChainPriority HIGH
-
-
Method Detail
-
values
public static ChainPriority[] 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 ChainPriority 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 namejava.lang.NullPointerException
- if the argument is null
-
getOrdinal
public int getOrdinal()
-
-