|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DependencyType>
com.ace.moab.api.jobs.DependencyType
public enum DependencyType
Represents the type of dependencies that can exist on a job in Moab.
What can potentially be confusing is that Moab can have multiple different names for each dependency type, one for job submission/modification commands and one Moab returns when doing job queries. The actual name of the enum is the one Moab returns when doing job queries. The commandName is the name which must be used when sending submit/modification requests to Moab. Finally the human readable name is the one displayed in windows and forms.
Enum Constant Summary | |
---|---|
BEFORE
Job may start at any time before specified jobs have started execution. |
|
BEFOREANY
Job may start at any time before all specified jobs have completed regardless of completion status. |
|
BEFORENOTOK
Job may start at any time before any specified jobs have completed unsuccessfully. |
|
BEFOREOK
Job may start at any time before all specified jobs have successfully completed. |
|
HIBERNATE
Job was set to Hibernate mode. |
|
JOBCOMPLETE
Job may start at any time after all specified jobs have completed regardless of completion status. |
|
JOBFAILEDCOMPLETE
Job may start at any time after any specified jobs have completed unsuccessfully. |
|
JOBSTART
Job may start at any time after specified jobs have started execution. |
|
JOBSUCCESSFULCOMPLETE
Job may be start at any time after all specified jobs have successfully completed. |
|
SYNCCOUNT
This job will wait until it can start simultaneously with synccount jobs of type syncwith that have all specified this synccount job is their master job. |
|
SYNCWITH
Job will wait until it can start simultaneously with a master job |
Method Summary | |
---|---|
java.lang.String |
getCommandName()
Get a string representation of the command name. |
java.lang.String |
getHumanName()
Get a string representation of the human-readable dependency name |
static java.util.Vector<java.lang.String> |
getMoabNames()
Get a list of dependency types that Moab recognizes. |
static DependencyType |
parse(java.lang.Object object)
Parses a string and converts it into a DependencyType enum value if possible. |
static DependencyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DependencyType[] |
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 DependencyType JOBSTART
public static final DependencyType JOBSUCCESSFULCOMPLETE
public static final DependencyType JOBFAILEDCOMPLETE
public static final DependencyType JOBCOMPLETE
public static final DependencyType BEFORE
public static final DependencyType BEFOREANY
public static final DependencyType BEFOREOK
public static final DependencyType BEFORENOTOK
public static final DependencyType HIBERNATE
public static final DependencyType SYNCWITH
public static final DependencyType SYNCCOUNT
Method Detail |
---|
public static final DependencyType[] values()
for(DependencyType c : DependencyType.values()) System.out.println(c);
public static DependencyType 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 DependencyType parse(java.lang.Object object) throws java.text.ParseException
object
- the object to be parsed.
java.lang.IllegalArgumentException
- if the String cannot be parsed.
java.text.ParseException
public static java.util.Vector<java.lang.String> getMoabNames()
Get a list of dependency types that Moab recognizes. These dependencies are NOT resource manager specific, and Moab should be able to handle these dependencies internally.
public java.lang.String getCommandName()
public java.lang.String getHumanName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |