|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TriggerActionType>
com.ace.moab.api.triggers.TriggerActionType
public enum TriggerActionType
This enums describes what kind of action a trigger can take when it fires. The values inside this enumeration are associated with the trigger attribute AType.
Enum Constant Summary | |
---|---|
CANCEL
The attempts to cancel the object it is attached to. |
|
EXEC
The trigger attempts to execute an external program. |
|
INTERNAL
The trigger can be used to modify object internals using the following format for the action: |
|
JOBPREEMPT
The trigger should preempt all jobs currently allocating resource assigned to the trigger's parent object. |
|
MAIL
The trigger attempts to email the administrator. |
|
QUERY
The trigger is allowed to import variables from another object. |
Method Summary | |
---|---|
static TriggerActionType |
parseString(java.lang.String string)
Parses a string and converts it into a TriggerActionType enum value if possible. |
static TriggerActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TriggerActionType[] |
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 TriggerActionType CANCEL
public static final TriggerActionType EXEC
public static final TriggerActionType INTERNAL
The trigger can be used to modify object internals using the following format for the action:
<OBJECT_TYPE>:<OBJECT_ID>:<ACTION>:<CONTEXT_DATA>
Several different actions are valid depending on what type of object the internal trigger is acting upon.
public static final TriggerActionType JOBPREEMPT
public static final TriggerActionType MAIL
public static final TriggerActionType QUERY
Method Detail |
---|
public static final TriggerActionType[] values()
for(TriggerActionType c : TriggerActionType.values()) System.out.println(c);
public static TriggerActionType 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 TriggerActionType parseString(java.lang.String string) throws java.lang.IllegalArgumentException
string
- the string to be parsed.
java.lang.IllegalArgumentException
- if the String cannot be parsed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |