|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JobState>
com.ace.moab.api.jobs.JobState
public enum JobState
Represents the various states a job may have at any one time. A Job is guaranteed to have at most 1 state at any given time (but may have many states during the job's lifetime).
Enum Constant Summary | |
---|---|
ALLOCATING
Resources are selected and are being prepared for job |
|
BATCH_HOLD
Job has a batch hold in place |
|
COMPLETED
Job successfully completed execution |
|
DEFERRED
Job temporarily blocked |
|
HOLD
Job is blocked by RM hold |
|
IDLE
Eligible according to all RM constraints |
|
LOST
Job is LOST. |
|
NONE
No state: A sentinal value. |
|
NOT_QUEUED
Job not eligible for execution |
|
NOT_RUN
Job was not run |
|
REMOVED
Job cancelled before executing |
|
RUNNING
Job is executing |
|
STAGED
All staging pre-reqs are satisified - waiting for remote RM to start |
|
STAGING
Staging of input/output data is currently underway |
|
STARTING
Job launching, executing prolog |
|
SUBMIT_ERROR
Job encountered an error during submission. |
|
SUSPENDED
Job is in suspended state |
|
SYSTEM_HOLD
Job has a system hold in place |
|
UNKNOWN
Unknown job status |
|
USER_HOLD
Job has a user hold in place |
|
VACATED
Job cancelled after partial execution |
Method Summary | |
---|---|
static JobState |
parseString(java.lang.String str)
Attempts to parse a string and convert it into a corresponding JobState enum value. |
java.lang.String |
toString()
|
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're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JobState NONE
public static final JobState IDLE
public static final JobState STARTING
public static final JobState RUNNING
public static final JobState REMOVED
public static final JobState COMPLETED
public static final JobState HOLD
public static final JobState DEFERRED
public static final JobState SUBMIT_ERROR
public static final JobState VACATED
public static final JobState NOT_RUN
public static final JobState NOT_QUEUED
public static final JobState UNKNOWN
public static final JobState BATCH_HOLD
public static final JobState USER_HOLD
public static final JobState SYSTEM_HOLD
public static final JobState STAGING
public static final JobState STAGED
public static final JobState SUSPENDED
public static final JobState LOST
public static final JobState ALLOCATING
Method Detail |
---|
public static final 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 namepublic java.lang.String toString()
toString
in class java.lang.Enum<JobState>
public static JobState parseString(java.lang.String str) throws java.text.ParseException
str
- the string to parse into a corresponding JobState enum value.
java.text.ParseException
- thrown if the string cannot be parsed into a respective
JobState.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |