| Enum Constant and Description |
|---|
ACCEPTED |
FINISHED |
FINISHED_WITH_ERROR |
IN_PROGRESS |
| Modifier and Type | Method and Description |
|---|---|
static StateEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static StateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateEnum ACCEPTED
public static final StateEnum IN_PROGRESS
public static final StateEnum FINISHED
public static final StateEnum FINISHED_WITH_ERROR
public static StateEnum[] values()
for (StateEnum c : StateEnum.values()) System.out.println(c);
public static StateEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getValue()
public String toString()
toString in class Enum<StateEnum>public static StateEnum fromValue(String text)