public enum ActionType extends java.lang.Enum<ActionType>
Action
.Enum Constant and Description |
---|
CALLBACK
Schedule the provided callback to be invoked
|
ERROR
Unexpected error occurred within the scheduler and additional procedures will not be scheduled
|
EXIT
Scheduler has reached an end to its life cycle and is not scheduling any more procedures
|
PROCEDURE
Schedule a procedure to be executed
|
Modifier and Type | Method and Description |
---|---|
boolean |
isStop() |
static ActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionType PROCEDURE
public static final ActionType CALLBACK
public static final ActionType ERROR
public static final ActionType EXIT
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType 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 namejava.lang.NullPointerException
- if the argument is nullpublic boolean isStop()
true
if the action is a stop action