public static enum Job.Status extends java.lang.Enum<Job.Status>
Enum Constant and Description |
---|
CANCELLED
No longer running because job has been cancelled.
|
CANCELLING
Still running and in the process of being cancelled.
|
FAILED
No longer running because job has failed.
|
FINISHED
Successfully finished.
|
STARTED
Still running.
|
TIMED_OUT
No longer running because job has timed out on the server side.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isRunning() |
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 CANCELLED
public static final Job.Status CANCELLING
public static final Job.Status FAILED
public static final Job.Status FINISHED
public static final Job.Status STARTED
public static final Job.Status TIMED_OUT
public boolean isRunning()
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 nullpublic static Job.Status[] values()
for (Job.Status c : Job.Status.values()) System.out.println(c);