public class EventSubscriberStateMachine extends EventSubscriberSignalDispatcher
AcsScxmlEngine for the concrete SM type 'EventSubscriber',
and a single all-action handler.
Currently this class is used only in tests, while the real code
uses AcsScxmlEngine directly, similarly to this class.
| Constructor and Description |
|---|
EventSubscriberStateMachine(java.util.logging.Logger logger,
EventSubscriberActionDispatcher actionExecutor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCurrentState()
Convenience method, delegates to the underlying AcsScxmlEngine.
|
protected AcsScxmlEngine<EventSubscriberSignal,EventSubscriberAction> |
getScxmlEngine() |
boolean |
isStateActive(java.lang.String stateName) |
cleanUpEnvironment, fireSignal, fireSignalWithErrorFeedback, resume, setUpEnvironment, startReceivingEvents, stopReceivingEvents, suspendpublic EventSubscriberStateMachine(java.util.logging.Logger logger,
EventSubscriberActionDispatcher actionExecutor)
protected AcsScxmlEngine<EventSubscriberSignal,EventSubscriberAction> getScxmlEngine()
getScxmlEngine in class EventSubscriberSignalDispatcherpublic java.lang.String getCurrentState()
public boolean isStateActive(java.lang.String stateName)
stateName - Name of a (outer) state, as defined in alma/acs/nc/sm/generated/EventSubscriberSCXML.xml.