Groovy Documentation

com.ace.mws.plugins
[Java] Enum JobReportState

java.lang.Object
  java.lang.Enum
      com.ace.mws.plugins.JobReportState

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

ALLOCATING

JobReportState ALLOCATING


BATCH_HOLD

JobReportState BATCH_HOLD


BLOCKED

JobReportState BLOCKED


COMPLETED

JobReportState COMPLETED


DEFERRED

JobReportState DEFERRED


HOLD

JobReportState HOLD


IDLE

JobReportState IDLE


LOST

JobReportState LOST


NOT_QUEUED

JobReportState NOT_QUEUED


NOT_RUN

JobReportState NOT_RUN


REMOVED

JobReportState REMOVED


RUNNING

JobReportState RUNNING


STAGED

JobReportState STAGED


STAGING

JobReportState STAGING


STARTING

JobReportState STARTING


SUBMIT_ERROR

JobReportState SUBMIT_ERROR


SUSPENDED

JobReportState SUSPENDED


SYSTEM_HOLD

JobReportState SYSTEM_HOLD


UNKNOWN

JobReportState UNKNOWN


USER_HOLD

JobReportState USER_HOLD


VACATED

JobReportState VACATED


 
Field Detail

activeStates

public static final List activeStates
The list of states that are "active" states, meaning the job does not have an error and has not been completed/removed.


completedStates

public static final List completedStates
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).


moabLabel

private String moabLabel


 
Method Detail

JobReportState

private def JobReportState(String moabLabel)


parse

public static JobReportState parse(String string)
Attempts to parse a string and convert it into a corresponding JobReportState enum value.
Parameters:
string - The string to parse into a corresponding JobReportFlag enum value.
Returns:
The corresponding JobReportState value or UNKNOWN if not found.


valueOf

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


values

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


 

Groovy Documentation