Package | Description |
---|---|
org.apache.commons.scxml2 |
The Commons SCXML executor and core concepts.
|
org.apache.commons.scxml2.semantics |
A collection of classes responsible for implementations of the
org.apache.commons.scxml2.SCXMLSemantics interface. |
Modifier and Type | Method and Description |
---|---|
void |
SCXMLSemantics.finalStep(SCXMLExecutionContext exctx)
The final step in the execution of an SCXML state machine.
|
void |
SCXMLSemantics.firstStep(SCXMLExecutionContext exctx)
First step in the execution of an SCXML state machine.
|
void |
SCXMLSemantics.nextStep(SCXMLExecutionContext exctx,
TriggerEvent event)
Next step in the execution of an SCXML state machine.
|
Constructor and Description |
---|
ActionExecutionContext(SCXMLExecutionContext exctx)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
SCXMLSemanticsImpl.addAncestorStatesToEnter(SCXMLExecutionContext exctx,
Step step,
TransitionTarget tt,
TransitionTarget ancestor)
This method corresponds to the Algorithm for SCXML processing addAncestorStatesToEnter() procedure.
|
void |
SCXMLSemanticsImpl.addDescendantStatesToEnter(SCXMLExecutionContext exctx,
Step step,
TransitionTarget tt)
This method corresponds to the Algorithm for SCXML processing addDescendantStatesToEnter() procedure.
|
void |
SCXMLSemanticsImpl.buildStep(SCXMLExecutionContext exctx,
Step step)
buildStep builds the exitSet and entrySet for the current configuration given the transitionList on the step.
|
void |
SCXMLSemanticsImpl.computeEntrySet(SCXMLExecutionContext exctx,
Step step)
Compute and store the set of states to enter for the current list of transitions in the provided step.
|
void |
SCXMLSemanticsImpl.enterStates(SCXMLExecutionContext exctx,
Step step,
Set<TransitionalState> statesToInvoke)
This method corresponds to the Algorithm for SCXML processing enterStates() procedure, where the states to enter
already have been pre-computed in
SCXMLSemanticsImpl.microStep(SCXMLExecutionContext, Step, java.util.Set) . |
void |
SCXMLSemanticsImpl.executeContent(SCXMLExecutionContext exctx,
Executable exec)
Executes the executable content for a specific executable in the micro step
|
void |
SCXMLSemanticsImpl.executeGlobalScript(SCXMLExecutionContext exctx)
Executes the global SCXML script element
|
void |
SCXMLSemanticsImpl.executeTransitionContent(SCXMLExecutionContext exctx,
Step step)
Executes the executable content for all transitions in the micro step
|
void |
SCXMLSemanticsImpl.exitStates(SCXMLExecutionContext exctx,
Step step,
Set<TransitionalState> statesToInvoke)
This method corresponds to the Algorithm for SCXML processing exitStates() procedure, where the states to exit
already have been pre-computed in
SCXMLSemanticsImpl.microStep(SCXMLExecutionContext, Step, java.util.Set) . |
void |
SCXMLSemanticsImpl.finalStep(SCXMLExecutionContext exctx)
The final step in the execution of an SCXML state machine.
|
void |
SCXMLSemanticsImpl.firstStep(SCXMLExecutionContext exctx)
First step in the execution of an SCXML state machine.
|
void |
SCXMLSemanticsImpl.initiateInvokes(SCXMLExecutionContext exctx,
Set<TransitionalState> statesToInvoke)
Initiate any new invoked activities.
|
void |
SCXMLSemanticsImpl.macroStep(SCXMLExecutionContext exctx,
Set<TransitionalState> statesToInvoke)
Perform a macro step in the execution of a state machine.
|
boolean |
SCXMLSemanticsImpl.matchTransition(SCXMLExecutionContext exctx,
Transition transition,
String eventName) |
void |
SCXMLSemanticsImpl.microStep(SCXMLExecutionContext exctx,
Step step,
Set<TransitionalState> statesToInvoke)
Perform a micro step in the execution of a state machine.
|
void |
SCXMLSemanticsImpl.nextStep(SCXMLExecutionContext exctx,
TriggerEvent event)
Next step in the execution of an SCXML state machine.
|
void |
SCXMLSemanticsImpl.notifyOnTransition(SCXMLExecutionContext exctx,
Transition t,
TransitionTarget target)
Notifies SCXMLListeners on the transition taken
|
void |
SCXMLSemanticsImpl.processInvokes(SCXMLExecutionContext exctx,
TriggerEvent event)
Forward events to invoked activities, execute finalize handlers.
|
void |
SCXMLSemanticsImpl.removeConflictingTransitions(SCXMLExecutionContext exctx,
Step step,
List<Transition> enabledTransitions)
This method corresponds to the Algorithm for SCXML processing removeConflictingTransitions() procedure.
|
void |
SCXMLSemanticsImpl.selectTransitions(SCXMLExecutionContext exctx,
Step step)
This method corresponds to the Algorithm for SCXML processing selectTransitions() as well as the
selectEventlessTransitions() procedure, depending on the event (or null) in the provided step
|
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.