public static enum Job.Status extends java.lang.Enum<Job.Status>
| Enum Constant and Description |
|---|
Failed |
Finished |
InProgress |
Pending |
| Modifier and Type | Method and Description |
|---|---|
static Job.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Job.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Job.Status Pending
public static final Job.Status InProgress
public static final Job.Status Finished
public static final Job.Status Failed
public static Job.Status[] values()
for (Job.Status c : Job.Status.values()) System.out.println(c);
public static Job.Status 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