public enum ProcessState extends java.lang.Enum<ProcessState>
| Enum Constant and Description |
|---|
ACTIVE
Process can create new instances and execute old instances.
|
DISABLED
Process cannot exeucte old nor create new instances.
|
RETIRED
Process can execute old instances, but cannot create new instances.
|
| Modifier and Type | Method and Description |
|---|---|
static ProcessState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProcessState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessState ACTIVE
public static final ProcessState RETIRED
public static final ProcessState DISABLED
public static ProcessState[] values()
for (ProcessState c : ProcessState.values()) System.out.println(c);
public static ProcessState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null