|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<TriggerState>
com.ace.moab.api.triggers.TriggerState
public enum TriggerState
This enum describes the state of a trigger.
| Enum Constant Summary | |
|---|---|
ACTIVE
The trigger has fired and is currently running. |
|
FAILURE
The trigger has failed in some way. |
|
IDLE
The trigger is armed, but has not fired. |
|
SUCCESSFUL
The trigger has fired and completed its task successfully |
|
| Method Summary | |
|---|---|
static TriggerState |
parseString(java.lang.String string)
Parses a string and converts it into a TriggerState enum value if possible. |
java.lang.String |
toString()
|
static TriggerState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TriggerState[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TriggerState ACTIVE
public static final TriggerState SUCCESSFUL
public static final TriggerState FAILURE
public static final TriggerState IDLE
| Method Detail |
|---|
public static final TriggerState[] values()
for(TriggerState c : TriggerState.values())
System.out.println(c);
public static TriggerState 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 name
public static TriggerState parseString(java.lang.String string)
throws java.lang.IllegalArgumentException
string - the string to be parsed.
java.lang.IllegalArgumentException - if the String cannot be parsed.public java.lang.String toString()
toString in class java.lang.Enum<TriggerState>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||