Groovy Documentation

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

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

enum JobHoldType

This enumeration represents the types of holds that can be applied to jobs.


Enum Constant Summary
ALL

The job has all holds applied to it.

BATCH

The batch queue has placed a hold on the job.

DEFER

The job has been deferred.

NONE

The job does not have a hold.

SYSTEM

Moab has put a hold on the job.

USER

The user has manually specified a hold on a job.

 
Property Summary
String str

 
Constructor Summary
private JobHoldType(String str)

 
Method Summary
static JobHoldType parseString(String string)

Attempts to parse a string and convert it into a corresponding JobHoldType enum value.

String toString()

JobHoldType valueOf(String name)

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

JobHoldType[] 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

ALL

JobHoldType ALL
The job has all holds applied to it.


BATCH

JobHoldType BATCH
The batch queue has placed a hold on the job.


DEFER

JobHoldType DEFER
The job has been deferred.


NONE

JobHoldType NONE
The job does not have a hold.


SYSTEM

JobHoldType SYSTEM
Moab has put a hold on the job.


USER

JobHoldType USER
The user has manually specified a hold on a job.


 
Property Detail

str

String str


 
Constructor Detail

JobHoldType

private JobHoldType(String str)


 
Method Detail

parseString

static JobHoldType parseString(String string)
Attempts to parse a string and convert it into a corresponding JobHoldType enum value.
throws:
ParseException thrown if the string cannot be parsed into a respective JobHoldType.
Parameters:
string - the string to parse into a corresponding JobHoldType enum value.
Returns:
the corresponding JobHoldType enum value.


toString

@Override
String toString()


valueOf

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


values

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


 

Groovy Documentation