Enum WhileStep.WhileType
- java.lang.Object
-
- java.lang.Enum<WhileStep.WhileType>
-
- com.piketec.tpt.api.steplist.formalrequirements.WhileStep.WhileType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<WhileStep.WhileType>
- Enclosing interface:
- WhileStep
public static enum WhileStep.WhileType extends java.lang.Enum<WhileStep.WhileType>
The possible when types. Which describe how often a condition should become true.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Always
For_At_Least
For_At_Most
For_More_Than
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WhileStep.WhileType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static WhileStep.WhileType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Always
public static final WhileStep.WhileType Always
-
For_At_Least
public static final WhileStep.WhileType For_At_Least
-
For_More_Than
public static final WhileStep.WhileType For_More_Than
-
For_At_Most
public static final WhileStep.WhileType For_At_Most
-
-
Method Detail
-
values
public static WhileStep.WhileType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WhileStep.WhileType c : WhileStep.WhileType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WhileStep.WhileType 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
-
-