Package cloud.commandframework.services
Enum ExecutionOrder
- java.lang.Object
-
- java.lang.Enum<ExecutionOrder>
-
- cloud.commandframework.services.ExecutionOrder
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExecutionOrder>
,java.lang.constant.Constable
public enum ExecutionOrder extends java.lang.Enum<ExecutionOrder>
Used to specify the relative priority of a service implementation
-
-
Method Summary
Modifier and Type Method Description static ExecutionOrder
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExecutionOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LAST
public static final ExecutionOrder LAST
-
LATER
public static final ExecutionOrder LATER
-
LATE
public static final ExecutionOrder LATE
-
SOON
public static final ExecutionOrder SOON
-
SOONER
public static final ExecutionOrder SOONER
-
FIRST
public static final ExecutionOrder FIRST
-
-
Method Detail
-
values
public static ExecutionOrder[] 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 ExecutionOrder 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
-
-