Groovy Documentation

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

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

enum JobHoldTypeVersion1

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 JobHoldTypeVersion1(String str)

 
Method Summary
static JobHoldTypeVersion1 parseString(String string)

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

String toString()

JobHoldTypeVersion1 valueOf(String name)

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

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

JobHoldTypeVersion1 ALL
The job has all holds applied to it.


BATCH

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


DEFER

JobHoldTypeVersion1 DEFER
The job has been deferred.


NONE

JobHoldTypeVersion1 NONE
The job does not have a hold.


SYSTEM

JobHoldTypeVersion1 SYSTEM
Moab has put a hold on the job.


USER

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


 
Property Detail

str

String str


 
Constructor Detail

JobHoldTypeVersion1

private JobHoldTypeVersion1(String str)


 
Method Detail

parseString

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


toString

@Override
String toString()


valueOf

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


values

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


 

Groovy Documentation