org.gridlab.gat.resources
Enum WrapperJobDescription.ScheduledType

java.lang.Object
  extended by java.lang.Enum<WrapperJobDescription.ScheduledType>
      extended by org.gridlab.gat.resources.WrapperJobDescription.ScheduledType
All Implemented Interfaces:
Serializable, Comparable<WrapperJobDescription.ScheduledType>
Enclosing class:
WrapperJobDescription

public static enum WrapperJobDescription.ScheduledType
extends Enum<WrapperJobDescription.ScheduledType>

An instance of this enumeration indicates the scheduled type of the WrapperJobDescription.

Author:
rkemp

Enum Constant Summary
COORDINATED
          Wrapped jobs are coordinated by the application, by creating files that trigger the next phase, be it pre-staging, running, or post-staging.
PARALLEL
          Parallel run.
 
Method Summary
static WrapperJobDescription.ScheduledType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WrapperJobDescription.ScheduledType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COORDINATED

public static final WrapperJobDescription.ScheduledType COORDINATED
Wrapped jobs are coordinated by the application, by creating files that trigger the next phase, be it pre-staging, running, or post-staging.


PARALLEL

public static final WrapperJobDescription.ScheduledType PARALLEL
Parallel run. No special scheduling.

Method Detail

values

public static WrapperJobDescription.ScheduledType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WrapperJobDescription.ScheduledType c : WrapperJobDescription.ScheduledType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WrapperJobDescription.ScheduledType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null