public enum EventSubscriberAction extends java.lang.Enum<EventSubscriberAction>
AcsScxmlDispatchingAction
that is parametrized with an action enum such as this one.
Note that the SM framework mandates that all actions can be listed in an
enum class.
However, the action implementation can be done in one or many classes.
EventSubscriberAllActionsHandler is useful in case you want to implement all actions
in one class.
This enum class replaces the config file config/SMActionMap.txt used in the ESO SM framework, together with the option of setting arbitrary action handlers.
| Enum Constant and Description |
|---|
createConnection |
createEnvironment |
destroyConnection |
destroyEnvironment |
resumeConnection |
suspendConnection |
| Modifier and Type | Method and Description |
|---|---|
static EventSubscriberAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventSubscriberAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventSubscriberAction createEnvironment
public static final EventSubscriberAction createConnection
public static final EventSubscriberAction suspendConnection
public static final EventSubscriberAction resumeConnection
public static final EventSubscriberAction destroyConnection
public static final EventSubscriberAction destroyEnvironment
public static EventSubscriberAction[] values()
for (EventSubscriberAction c : EventSubscriberAction.values()) System.out.println(c);
public static EventSubscriberAction 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