public static enum CreateJobResource.StateEnum extends Enum<CreateJobResource.StateEnum>
Enum Constant and Description |
---|
ACCEPTED |
FINISHED |
FINISHED_WITH_ERROR |
IN_PROGRESS |
Modifier and Type | Method and Description |
---|---|
static CreateJobResource.StateEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static CreateJobResource.StateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreateJobResource.StateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateJobResource.StateEnum ACCEPTED
public static final CreateJobResource.StateEnum IN_PROGRESS
public static final CreateJobResource.StateEnum FINISHED
public static final CreateJobResource.StateEnum FINISHED_WITH_ERROR
public static CreateJobResource.StateEnum[] values()
for (CreateJobResource.StateEnum c : CreateJobResource.StateEnum.values()) System.out.println(c);
public static CreateJobResource.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<CreateJobResource.StateEnum>
public static CreateJobResource.StateEnum fromValue(String text)