gestIT
Enum ExecState
java.lang.Object
java.lang.Enum<ExecState>
gestIT.ExecState
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ExecState>
public enum ExecState
- extends java.lang.Enum<ExecState>
Enumerator class for building block state
- Author:
- nicola
Method Summary |
static ExecState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ExecState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Disabled
public static final ExecState Disabled
Completed
public static final ExecState Completed
Enabled
public static final ExecState Enabled
Performing
public static final ExecState Performing
Error
public static final ExecState Error
values
public static ExecState[] 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 (ExecState c : ExecState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ExecState 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 name
java.lang.NullPointerException
- if the argument is null