Groovy Documentation

com.ace.mws.jobs
[Groovy] Enum JobState

java.lang.Object
  com.ace.mws.jobs.JobState

enum JobState

Represents the various states a job may have at any one time. A Job is guaranteed to have at most one 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.

BLOCKED

State used only by database for job that is idle but has a block reason.

COMPLETED

DEFERRED

Job temporarily blocked.

HOLD

Job is blocked by resource manager hold.

IDLE

Eligible according to all resource manager constraints.

LOST

NOT_QUEUED

Job not eligible for execution.

NOT_RUN

REMOVED

Job canceled before executing.

RUNNING

Job is executing.

STAGED

All staging prerequisites are satisfied - waiting for remote resource manager to start.

STAGING

Staging of input/output data is currently underway.

STARTING

Job launching, executing prolog.

SUBMIT_ERROR

SUSPENDED

SYSTEM_HOLD

Job has a system hold in place.

UNKNOWN

USER_HOLD

Job has a user hold in place.

VACATED

Job canceled after partial execution.

 
Property Summary
static def activeStates

static def completedStates

String moabString

 
Constructor Summary
JobState(String moabString)

 
Method Summary
static JobState parseString(String string)

String toMoabString()

JobState valueOf(String name)

Returns the enum constant of this type with the specified name.

JobState[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Enum Constant Detail

ALLOCATING

JobState ALLOCATING
Resources are selected and are being prepared for job.


BATCH_HOLD

JobState BATCH_HOLD
Job has a batch hold in place.


BLOCKED

JobState BLOCKED
State used only by database for job that is idle but has a block reason.


COMPLETED

JobState COMPLETED


DEFERRED

JobState DEFERRED
Job temporarily blocked.


HOLD

JobState HOLD
Job is blocked by resource manager hold.


IDLE

JobState IDLE
Eligible according to all resource manager constraints.


LOST

JobState LOST


NOT_QUEUED

JobState NOT_QUEUED
Job not eligible for execution.


NOT_RUN

JobState NOT_RUN


REMOVED

JobState REMOVED
Job canceled before executing.


RUNNING

JobState RUNNING
Job is executing.


STAGED

JobState STAGED
All staging prerequisites are satisfied - waiting for remote resource manager to start.


STAGING

JobState STAGING
Staging of input/output data is currently underway.


STARTING

JobState STARTING
Job launching, executing prolog.


SUBMIT_ERROR

JobState SUBMIT_ERROR


SUSPENDED

JobState SUSPENDED


SYSTEM_HOLD

JobState SYSTEM_HOLD
Job has a system hold in place.


UNKNOWN

JobState UNKNOWN


USER_HOLD

JobState USER_HOLD
Job has a user hold in place.


VACATED

JobState VACATED
Job canceled after partial execution.


 
Property Detail

activeStates

static def activeStates


completedStates

static def completedStates


moabString

String moabString


 
Constructor Detail

JobState

JobState(String moabString)


 
Method Detail

parseString

static JobState parseString(String string)


toMoabString

String toMoabString()


valueOf

JobState valueOf(String name)
Returns the enum constant of this type with the specified name.


values

JobState[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation