Method Summary |
|
public void | addListener(SCXML scxml, SCXMLListener listener) Add a listener to the document root. |
public void | addListener(TransitionTarget transitionTarget, SCXMLListener listener) Add a listener to this transition target. |
public void | addListener(Transition transition, SCXMLListener listener) Add a listener to this transition. |
public synchronized Status | getCurrentStatus() Get the current status. |
public ErrorReporter | getErrorReporter() Get the environment specific error reporter. |
public Evaluator | getEvaluator() Get the expression evaluator in use. |
public EventDispatcher | getEventdispatcher() Get the event dispatcher. |
public Context | getRootContext() Get the root context for this execution. |
SCInstance | getSCInstance() Get the state chart instance for this executor. |
public SCXML | getStateMachine() Get the state machine that is being executed. |
public void | go() Initiate state machine execution. |
public boolean | isSuperStep() Use "super-step", default is true
(that is, run-to-completion is default). |
public void | registerInvokerClass(String targettype, Class invokerClass) Register an Invoker for this target type. |
public void | removeListener(SCXML scxml, SCXMLListener listener) Remove this listener from the document root. |
public void | removeListener(TransitionTarget transitionTarget, SCXMLListener listener) Remove this listener for this transition target. |
public void | removeListener(Transition transition, SCXMLListener listener) Remove this listener for this transition. |
public synchronized void | reset() Clear all state and begin from "initialstate" indicated
on root SCXML element. |
public void | setErrorReporter(ErrorReporter errorReporter) Set the environment specific error reporter. |
public void | setEvaluator(Evaluator evaluator) Set the expression evaluator. |
public void | setEventdispatcher(EventDispatcher eventdispatcher) Set the event dispatcher. |
public void | setRootContext(Context rootContext) Set the root context for this execution. |
public void | setStateMachine(SCXML stateMachine) Set the state machine to be executed. |
public void | setSuperStep(boolean superStep) Set the super step. |
public void | triggerEvent(TriggerEvent evt) Convenience method when only one event needs to be triggered. |
public synchronized void | triggerEvents(TriggerEvent[] evts) The worker method. |
public void | unregisterInvokerClass(String targettype) Remove the Invoker registered for this target
type (if there is one registered). |