|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<JobHoldType>
com.ace.moab.api.jobs.JobHoldType
public 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. |
Method Summary | |
---|---|
static JobHoldType |
parseString(java.lang.String string)
Attempts to parse a string and convert it into a corresponding JobHoldType enum value. |
static JobHoldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static JobHoldType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JobHoldType NONE
public static final JobHoldType USER
public static final JobHoldType SYSTEM
public static final JobHoldType BATCH
public static final JobHoldType DEFER
public static final JobHoldType ALL
Method Detail |
---|
public static final JobHoldType[] values()
for(JobHoldType c : JobHoldType.values()) System.out.println(c);
public static JobHoldType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static JobHoldType parseString(java.lang.String string) throws java.text.ParseException
string
- the string to parse into a corresponding JobHoldType enum
value.
java.text.ParseException
- thrown if the string cannot be parsed into a respective
JobHoldType.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |