|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum com.adaptc.mws.plugins.JobReportState
public enum JobReportState extends Enum
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
|
|
BATCH_HOLD
|
|
BLOCKED
|
|
COMPLETED
|
|
DEFERRED
|
|
HOLD
|
|
IDLE
|
|
LOST
|
|
NOT_QUEUED
|
|
NOT_RUN
|
|
REMOVED
|
|
RUNNING
|
|
STAGED
|
|
STAGING
|
|
STARTING
|
|
SUBMIT_ERROR
|
|
SUSPENDED
|
|
SYSTEM_HOLD
|
|
UNKNOWN
|
|
USER_HOLD
|
|
VACATED
|
Field Summary | |
---|---|
static List |
activeStates
The list of states that are "active" states, meaning the job does not have an error and has not been completed/removed. |
static List |
completedStates
Represents the various states a job may have at any one time. |
private String |
moabLabel
|
Method Summary | |
---|---|
private def
|
JobReportState(String moabLabel)
|
static JobReportState
|
parse(String string)
Attempts to parse a string and convert it into a corresponding JobReportState enum value. |
JobReportState
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
JobReportState[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum | |
---|---|
name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Enum Constant Detail |
---|
JobReportState ALLOCATING
JobReportState BATCH_HOLD
JobReportState BLOCKED
JobReportState COMPLETED
JobReportState DEFERRED
JobReportState HOLD
JobReportState IDLE
JobReportState LOST
JobReportState NOT_QUEUED
JobReportState NOT_RUN
JobReportState REMOVED
JobReportState RUNNING
JobReportState STAGED
JobReportState STAGING
JobReportState STARTING
JobReportState SUBMIT_ERROR
JobReportState SUSPENDED
JobReportState SYSTEM_HOLD
JobReportState UNKNOWN
JobReportState USER_HOLD
JobReportState VACATED
Field Detail |
---|
public static final List activeStates
public static final List completedStates
private String moabLabel
Method Detail |
---|
private def JobReportState(String moabLabel)
public static JobReportState parse(String string)
string
- The string to parse into a corresponding JobReportFlag enum value.
JobReportState valueOf(String name)
JobReportState[] values()
Groovy Documentation