Package | Description |
---|---|
org.apache.commons.scxml |
The Commons SCXML executor and core concepts.
|
org.apache.commons.scxml.env |
A collection of classes that may be commonly used to bridge the
SCXML executor to the runtime environment.
|
org.apache.commons.scxml.model |
A collection of classes needed to model SCXML documents.
|
org.apache.commons.scxml.semantics |
A collection of classes responsible for implementations of the
org.apache.commons.scxml.SCXMLSemantics interface. |
Modifier and Type | Method and Description |
---|---|
ErrorReporter |
SCXMLExecutor.getErrorReporter()
Get the environment specific error reporter.
|
Modifier and Type | Method and Description |
---|---|
void |
SCXMLSemantics.determineInitialStates(SCXML input,
Set states,
List entryList,
ErrorReporter errRep,
SCInstance scInstance)
Determining the initial state(s) for this state machine.
|
void |
SCXMLSemantics.enumerateReachableTransitions(SCXML stateMachine,
Step step,
ErrorReporter errRep)
Enumerate all the reachable transitions.
|
void |
SCXMLSemantics.executeActions(Step step,
SCXML stateMachine,
EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance)
Executes all OnExit/Transition/OnEntry transitional actions.
|
void |
SCXMLSemantics.filterTransitionsSet(Step step,
EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance)
Filter the transitions set, eliminate those whose guard conditions
are not satisfied.
|
void |
SCXMLSemantics.followTransitions(Step step,
ErrorReporter errorReporter,
SCInstance scInstance)
Follow the candidate transitions for this execution Step, and update the
lists of entered and exited states accordingly.
|
void |
SCXMLSemantics.initiateInvokes(Step step,
ErrorReporter errRep,
SCInstance scInstance)
Initiate any new invoked activities.
|
static boolean |
SCXMLHelper.isLegalConfig(Set states,
ErrorReporter errRep)
Checks whether a given set of states is a legal Harel State Table
configuration (with the respect to the definition of the OR and AND
states).
|
SCXML |
SCXMLSemantics.normalizeStateMachine(SCXML input,
ErrorReporter errRep)
Optional post processing immediately following Digester.
|
void |
SCXMLSemantics.processInvokes(TriggerEvent[] events,
ErrorReporter errRep,
SCInstance scInstance)
Forward events to invoked activities, execute finalize handlers.
|
void |
SCXMLExecutor.setErrorReporter(ErrorReporter errorReporter)
Set the environment specific error reporter.
|
void |
SCXMLSemantics.updateHistoryStates(Step step,
ErrorReporter errRep,
SCInstance scInstance)
Go over the exit list and update history information for
relevant states.
|
Constructor and Description |
---|
SCXMLExecutor(Evaluator expEvaluator,
EventDispatcher evtDisp,
ErrorReporter errRep)
Constructor.
|
SCXMLExecutor(Evaluator expEvaluator,
EventDispatcher evtDisp,
ErrorReporter errRep,
SCXMLSemantics semantics)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleErrorReporter
Custom error reporter that log execution errors.
|
class |
Tracer
A simple tracer connected to Apache Commons Logging.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Action.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
Cancel.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
Send.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
If.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
Log.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
Event.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
Assign.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
ElseIf.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
Var.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
void |
Exit.execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance.
|
Modifier and Type | Method and Description |
---|---|
void |
SCXMLSemanticsImpl.determineInitialStates(SCXML input,
Set targets,
List entryList,
ErrorReporter errRep,
SCInstance scInstance) |
void |
SCXMLSemanticsImpl.determineTargetStates(Set states,
ErrorReporter errRep,
SCInstance scInstance) |
void |
SCXMLSemanticsImpl.enumerateReachableTransitions(SCXML stateMachine,
Step step,
ErrorReporter errRep) |
void |
SCXMLSemanticsImpl.executeActions(Step step,
SCXML stateMachine,
EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance)
Executes all OnExit/Transition/OnEntry transitional actions.
|
void |
SCXMLSemanticsImpl.filterTransitionsSet(Step step,
EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance) |
void |
SCXMLSemanticsImpl.followTransitions(Step step,
ErrorReporter errorReporter,
SCInstance scInstance)
Follow the candidate transitions for this execution Step, and update the
lists of entered and exited states accordingly.
|
void |
SCXMLSemanticsImpl.initiateInvokes(Step step,
ErrorReporter errRep,
SCInstance scInstance)
Initiate any new invokes.
|
SCXML |
SCXMLSemanticsImpl.normalizeStateMachine(SCXML input,
ErrorReporter errRep) |
void |
SCXMLSemanticsImpl.processInvokes(TriggerEvent[] events,
ErrorReporter errRep,
SCInstance scInstance)
Process any existing invokes, includes forwarding external events,
and executing any finalize handlers.
|
Set |
SCXMLSemanticsImpl.seedTargetSet(Set residual,
List transitList,
ErrorReporter errRep)
Populate the target set.
|
void |
SCXMLSemanticsImpl.updateHistoryStates(Step step,
ErrorReporter errRep,
SCInstance scInstance)
Go over the exit list and update history information for
relevant states.
|
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.