|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JobState>
org.eclipse.smila.jobmanager.JobState
public enum JobState
Job lifecycle states.
Enum Constant Summary | |
---|---|
CANCELED
cancellation has finished. |
|
CANCELLING
cancellation has started but not yet finished. |
|
COMPLETING
completing but not yet completed. |
|
FAILED
failed. |
|
FINISHING
finished but not yet completing. |
|
PREPARING
started but not running yet. |
|
RUNNING
running. |
|
SUCCEEDED
successfully completed. |
Method Summary | |
---|---|
static JobState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JobState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JobState PREPARING
public static final JobState RUNNING
public static final JobState FINISHING
public static final JobState COMPLETING
public static final JobState SUCCEEDED
public static final JobState FAILED
public static final JobState CANCELLING
public static final JobState CANCELED
Method Detail |
---|
public static JobState[] values()
for (JobState c : JobState.values()) System.out.println(c);
public static JobState 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 name
java.lang.NullPointerException
- if the argument is null
|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |