Groovy Documentation

com.ace.mws.triggers
[Groovy] Enum TriggerActionType

java.lang.Object
  com.ace.mws.triggers.TriggerActionType

enum TriggerActionType

This enumeration specifies the action type of a trigger.

Authors:
bsaville


Enum Constant Summary
CANCEL

Only apply to reservation triggers

CHANGE_PARAM

EXEC

INTERNAL

JOB_PREEMPT

This indicates that the trigger should preempt all jobs currently allocating resources assigned to the trigger's parent object.

MAIL

THRESHOLD

 
Property Summary
String name

The name Moab recognizes for a trigger type

 
Constructor Summary
private TriggerActionType(String name)

 
Method Summary
static TriggerActionType parseString(String string)

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

TriggerActionType valueOf(String name)

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

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

CANCEL

TriggerActionType CANCEL
Only apply to reservation triggers


CHANGE_PARAM

TriggerActionType CHANGE_PARAM


EXEC

TriggerActionType EXEC


INTERNAL

TriggerActionType INTERNAL


JOB_PREEMPT

TriggerActionType JOB_PREEMPT
This indicates that the trigger should preempt all jobs currently allocating resources assigned to the trigger's parent object. Only apply to reservation triggers.


MAIL

TriggerActionType MAIL


THRESHOLD

TriggerActionType THRESHOLD


 
Property Detail

name

String name
The name Moab recognizes for a trigger type


 
Constructor Detail

TriggerActionType

private TriggerActionType(String name)


 
Method Detail

parseString

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


valueOf

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


values

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


 

Groovy Documentation