Package | Description |
---|---|
org.apache.commons.scxml |
The Commons SCXML executor and core concepts.
|
org.apache.commons.scxml.io |
A collection of classes for reading in and writing out SCXML
documents, to and from the Commons SCXML Java object model.
|
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 |
---|---|
void |
SCXMLSemantics.determineInitialStates(SCXML input,
Set states,
List entryList,
ErrorReporter errRep,
SCInstance scInstance)
Determining the initial state(s) for this state machine.
|
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 |
SCXMLExecutor.go()
Initiate state machine execution.
|
void |
SCXMLSemantics.processInvokes(TriggerEvent[] events,
ErrorReporter errRep,
SCInstance scInstance)
Forward events to invoked activities, execute finalize handlers.
|
void |
SCXMLExecutor.reset()
Clear all state and begin from "initialstate" indicated
on root SCXML element.
|
void |
SCXMLExecutor.triggerEvent(TriggerEvent evt)
Convenience method when only one event needs to be triggered.
|
void |
SCXMLExecutor.triggerEvents(TriggerEvent[] evts)
The worker method.
|
Modifier and Type | Method and Description |
---|---|
static SCXML |
SCXMLDigester.digest(InputSource documentInputSource,
ErrorHandler errHandler)
Deprecated.
API for standalone usage where the SCXML document is an
InputSource.
|
static SCXML |
SCXMLDigester.digest(InputSource documentInputSource,
ErrorHandler errHandler,
List customActions)
Deprecated.
API for standalone usage where the SCXML document is an
InputSource.
|
static SCXML |
SCXMLDigester.digest(String documentRealPath,
ErrorHandler errHandler,
PathResolver pathResolver)
Deprecated.
API for standalone usage where the SCXML document is a URI.
|
static SCXML |
SCXMLDigester.digest(String documentRealPath,
ErrorHandler errHandler,
PathResolver pathResolver,
List customActions)
Deprecated.
API for standalone usage where the SCXML document is a URI.
|
static SCXML |
SCXMLDigester.digest(URL scxmlURL,
ErrorHandler errHandler)
Deprecated.
API for standalone usage where the SCXML document is a URL.
|
static SCXML |
SCXMLDigester.digest(URL scxmlURL,
ErrorHandler errHandler,
List customActions)
Deprecated.
API for standalone usage where the SCXML document is a URL, and
the document uses custom actions.
|
static SCXML |
SCXMLParser.parse(InputSource documentInputSource,
ErrorHandler errHandler)
API for standalone usage where the SCXML document is an
InputSource.
|
static SCXML |
SCXMLParser.parse(InputSource documentInputSource,
ErrorHandler errHandler,
List customActions)
API for standalone usage where the SCXML document is an
InputSource.
|
static SCXML |
SCXMLParser.parse(String documentRealPath,
ErrorHandler errHandler,
PathResolver pathResolver)
API for standalone usage where the SCXML document is a URI.
|
static SCXML |
SCXMLParser.parse(String documentRealPath,
ErrorHandler errHandler,
PathResolver pathResolver,
List customActions)
API for standalone usage where the SCXML document is a URI.
|
static SCXML |
SCXMLParser.parse(URL scxmlURL,
ErrorHandler errHandler)
API for standalone usage where the SCXML document is a URL.
|
static SCXML |
SCXMLParser.parse(URL scxmlURL,
ErrorHandler errHandler,
List customActions)
API for standalone usage where the SCXML document is a URL, and
the document uses custom actions.
|
static void |
SCXMLParser.updateSCXML(SCXML scxml)
Update the SCXML object model and make it SCXMLExecutor ready.
|
static void |
SCXMLDigester.updateSCXML(SCXML scxml)
Deprecated.
Update the SCXML object model and make it SCXMLExecutor ready.
|
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.
|
State |
Action.getParentState()
Deprecated.
Use
Action.getParentTransitionTarget() instead. |
TransitionTarget |
Action.getParentTransitionTarget()
Return the
TransitionTarget whose Context this action
executes in. |
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.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.processInvokes(TriggerEvent[] events,
ErrorReporter errRep,
SCInstance scInstance)
Process any existing invokes, includes forwarding external events,
and executing any finalize handlers.
|
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.