com.ace.moab.api.request
Enum ModifyJobType

java.lang.Object
  extended by java.lang.Enum<ModifyJobType>
      extended by com.ace.moab.api.request.ModifyJobType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModifyJobType>

public enum ModifyJobType
extends java.lang.Enum<ModifyJobType>


Enum Constant Summary
CANCEL
          Attempts to cancel the job.
CHECKPOINT
          Attempts to checkpoint the job.
EXECUTE
          Executes the job if possible.
HOLD
          Attempts to hold the job using the information returned by MoabJob#getHolds().
JOB_ATTRIBUTES
          Attempts to the modify the jobs attributes.
MESSAGE_SIGNAL
          Attempts to send an integer signal to the job.
REQUEUE
          Attempts to requeue the job.
RESUME
          Attempts to resume the job.
SUBMIT
          Attempts to submit the job.
SUSPEND
          Attempts to suspend the job.
UNHOLD
          Attempts to release holds on the job.
 
Method Summary
static ModifyJobType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ModifyJobType[] 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

CANCEL

public static final ModifyJobType CANCEL
Attempts to cancel the job.


CHECKPOINT

public static final ModifyJobType CHECKPOINT
Attempts to checkpoint the job. Note that the OS must support checkpointing for this to work.


EXECUTE

public static final ModifyJobType EXECUTE
Executes the job if possible.


HOLD

public static final ModifyJobType HOLD
Attempts to hold the job using the information returned by MoabJob#getHolds().


JOB_ATTRIBUTES

public static final ModifyJobType JOB_ATTRIBUTES
Attempts to the modify the jobs attributes. This will compare the MoabJob object passed into the modify job request versus the job information that Moab reports.


MESSAGE_SIGNAL

public static final ModifyJobType MESSAGE_SIGNAL
Attempts to send an integer signal to the job.


REQUEUE

public static final ModifyJobType REQUEUE
Attempts to requeue the job.


RESUME

public static final ModifyJobType RESUME
Attempts to resume the job.


SUBMIT

public static final ModifyJobType SUBMIT
Attempts to submit the job.


SUSPEND

public static final ModifyJobType SUSPEND
Attempts to suspend the job.


UNHOLD

public static final ModifyJobType UNHOLD
Attempts to release holds on the job.

Method Detail

values

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

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

valueOf

public static ModifyJobType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2001-2009 Cluster Resources, Inc. All Rights Reserved.