public enum StateDoActionPolicy extends java.lang.Enum<StateDoActionPolicy>
IMMEDIATE_CANCEL
is a default setting.Enum Constant and Description |
---|
IMMEDIATE_CANCEL
Policy interrupting action immediately when state is exited.
|
TIMEOUT_CANCEL
Policy interrupting action after a timeout before state is exited.
|
Modifier and Type | Method and Description |
---|---|
static StateDoActionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StateDoActionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateDoActionPolicy IMMEDIATE_CANCEL
public static final StateDoActionPolicy TIMEOUT_CANCEL
public static StateDoActionPolicy[] values()
for (StateDoActionPolicy c : StateDoActionPolicy.values()) System.out.println(c);
public static StateDoActionPolicy 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 null