Enum ShallStep.DurationType
- java.lang.Object
-
- java.lang.Enum<ShallStep.DurationType>
-
- com.piketec.tpt.api.steplist.formalrequirements.ShallStep.DurationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ShallStep.DurationType>
- Enclosing interface:
- ShallStep
public static enum ShallStep.DurationType extends java.lang.Enum<ShallStep.DurationType>
The possible duration types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
AT_LEAST_ONCE
AT_THE_END
AT_THE_START
BECOMES_FALSE
BECOMES_TRUE
FOR_AT_LEAST
FOR_AT_MOST
FOR_BETWEEN
FOR_EXACTLY
NEVER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ShallStep.DurationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ShallStep.DurationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final ShallStep.DurationType ALWAYS
-
NEVER
public static final ShallStep.DurationType NEVER
-
AT_LEAST_ONCE
public static final ShallStep.DurationType AT_LEAST_ONCE
-
BECOMES_TRUE
public static final ShallStep.DurationType BECOMES_TRUE
-
BECOMES_FALSE
public static final ShallStep.DurationType BECOMES_FALSE
-
AT_THE_START
public static final ShallStep.DurationType AT_THE_START
-
AT_THE_END
public static final ShallStep.DurationType AT_THE_END
-
FOR_EXACTLY
public static final ShallStep.DurationType FOR_EXACTLY
-
FOR_AT_LEAST
public static final ShallStep.DurationType FOR_AT_LEAST
-
FOR_AT_MOST
public static final ShallStep.DurationType FOR_AT_MOST
-
FOR_BETWEEN
public static final ShallStep.DurationType FOR_BETWEEN
-
-
Method Detail
-
values
public static ShallStep.DurationType[] 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 (ShallStep.DurationType c : ShallStep.DurationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ShallStep.DurationType 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
-
-