public enum ProcessState extends java.lang.Enum<ProcessState>
Enum Constant and Description |
---|
CANCELED
Constant CANCELED
|
COMPLETED
Constant COMPLETED
|
FAILED
Constant FAILED
|
PENDING
Constant PENDING
|
PROCESSING
Constant PROCESSING
|
UNKNOWN
Constant UNKNOWN
|
Modifier and Type | Method and Description |
---|---|
static ProcessState |
fromValue(java.lang.String value)
Method fromValue.
|
void |
setValue(java.lang.String value) |
java.lang.String |
toString()
Method toString.
|
java.lang.String |
value()
Method value.
|
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 CANCELED
public static final ProcessState COMPLETED
public static final ProcessState FAILED
public static final ProcessState PENDING
public static final ProcessState PROCESSING
public static final ProcessState UNKNOWN
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 nullpublic static ProcessState fromValue(java.lang.String value)
value
- public void setValue(java.lang.String value)
value
- public java.lang.String toString()
toString
in class java.lang.Enum<ProcessState>
public java.lang.String value()