Package moise.oe
Enum GoalInstance.GoalState
- java.lang.Object
-
- java.lang.Enum<GoalInstance.GoalState>
-
- moise.oe.GoalInstance.GoalState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GoalInstance.GoalState>
,java.lang.constant.Constable
- Enclosing class:
- GoalInstance
public static enum GoalInstance.GoalState extends java.lang.Enum<GoalInstance.GoalState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description enabled
impossible
satisfied
waiting
-
Constructor Summary
Constructors Modifier Constructor Description private
GoalState()
-
Method Summary
Modifier and Type Method Description static GoalInstance.GoalState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GoalInstance.GoalState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
waiting
public static final GoalInstance.GoalState waiting
-
enabled
public static final GoalInstance.GoalState enabled
-
satisfied
public static final GoalInstance.GoalState satisfied
-
impossible
public static final GoalInstance.GoalState impossible
-
-
Method Detail
-
values
public static GoalInstance.GoalState[] 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 GoalInstance.GoalState 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
-
-