|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | PROPERTY | METHOD | DETAIL: ENUM CONSTANTS | FIELD | PROPERTY | METHOD |
java.lang.Object com.ace.mws.triggers.TriggerFlag
enum TriggerFlag
This enumeration specifies a flag belonging to a trigger.
Enum Constant Summary | |
---|---|
ASYNCHRONOUS
An asynchronous trigger. |
|
ATTACH_ERROR
If the trigger outputs anything to stderr, Moab will attach this as a message to the trigger object. |
|
CHECKPOINT
Moab should always checkpoint this trigger. |
|
CLEANUP
If the trigger is still running when the parent object completes or is canceled, the trigger will be killed. |
|
GENERIC_SYSTEM_JOB
The trigger belongs to a generic system job (for checkpointing). |
|
GLOBAL_TRIGGER
The trigger will be (or was) inserted into the global trigger list. |
|
GLOBAL_VARS
The trigger will look in the name space of all nodes with the globalvars flag in addition to its own name space. |
|
INTERVAL
Trigger is periodic. |
|
LEAVE_FILES
Do not remove stderr and stdout files. |
|
MULTIFIRE
Trigger can fire multiple times. |
|
OBJECT_XML_STDIN
Trigger passes its parent's object XML information into the trigger's stdin. |
|
PROBE
The trigger's stdout will be monitored. |
|
PROBE_ALL
The trigger's stdout will be monitored. |
|
REMOVE_STD_FILES
The trigger will delete stdout/stderr files after it has been reset. |
|
RESET_ON_MODIFY
The trigger resets if the object it is attached to is modified, even if multifire is not set. |
|
SOFT_KILL
By default, a |
|
USER
The trigger will execute under the user ID of the object's owner. |
Property Summary | |
---|---|
String |
name
The name Moab recognizes for a trigger type |
Constructor Summary | |
private TriggerFlag(String name)
|
Method Summary | |
---|---|
static TriggerFlag
|
parseString(String string)
Attempts to parse a string and convert it into a corresponding TriggerFlag enum value. |
TriggerFlag
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
TriggerFlag[]
|
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 |
---|
TriggerFlag ASYNCHRONOUS
TriggerFlag ATTACH_ERROR
TriggerFlag CHECKPOINT
TriggerFlag CLEANUP
TriggerFlag GENERIC_SYSTEM_JOB
TriggerFlag GLOBAL_TRIGGER
TriggerFlag GLOBAL_VARS
TriggerFlag INTERVAL
TriggerFlag LEAVE_FILES
TriggerFlag MULTIFIRE
TriggerFlag OBJECT_XML_STDIN
TriggerFlag PROBE
TriggerFlag PROBE_ALL
TriggerFlag REMOVE_STD_FILES
TriggerFlag RESET_ON_MODIFY
TriggerFlag SOFT_KILL
SIGKILL
(kill -9) signal is sent to the kill the script when a trigger times out.
This flag will instead send a SIGTERM
(kill -15) signal to kill the script. The SIGTERM
signal will allow the script to trap the signal so that the script can clean up any residual information on the
system (instead of just dying, as with the SIGKILL
signal).
NOTE: A timed-out trigger will only receive one kill signal. This means that if you specify this flag, a
timed-out trigger will only receive the SIGTERM
signal, and never the SIGKILL
signal.
TriggerFlag USER
Property Detail |
---|
String name
Constructor Detail |
---|
private TriggerFlag(String name)
Method Detail |
---|
static TriggerFlag parseString(String string)
string
- the string to parse into a corresponding TriggerFlag enum value.
TriggerFlag valueOf(String name)
TriggerFlag[] values()
Groovy Documentation