Package | Description |
---|---|
org.apache.commons.scxml2 |
The Commons SCXML executor and core concepts.
|
org.apache.commons.scxml2.env |
A collection of classes that may be commonly used to bridge the
SCXML executor to the runtime environment.
|
org.apache.commons.scxml2.model |
A collection of classes needed to model SCXML documents.
|
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 |
NotificationRegistry.fireOnTransition(Observable source,
TransitionTarget from,
TransitionTarget to,
Transition transition,
String event)
Inform all relevant listeners of a transition that has occured.
|
void |
SCXMLListener.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition,
String event)
Handle the transition.
|
Modifier and Type | Method and Description |
---|---|
static String |
LogUtils.getTTPath(TransitionTarget tt)
Write out this TransitionTarget location in a XPath style format.
|
void |
Tracer.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition,
String event) |
void |
SimpleSCXMLListener.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition,
String event) |
void |
AbstractStateMachine.EntryListener.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition,
String event)
No-op.
|
void |
AbstractSCXMLListener.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition,
String event) |
static String |
LogUtils.transToString(TransitionTarget from,
TransitionTarget to,
Transition transition,
String event)
Create a human readable log view of this transition.
|
Modifier and Type | Class and Description |
---|---|
class |
EnterableState
An abstract base class for state elements in SCXML that can be entered, such as State, Parallel or Final.
|
class |
Final
The class in this SCXML object model that corresponds to the
<final> SCXML element.
|
class |
History
The class in this SCXML object model that corresponds to the
<history> SCXML pseudo state element.
|
class |
Parallel
The class in this SCXML object model that corresponds to the
<parallel> SCXML element, which is a wrapper element to
encapsulate parallel state machines.
|
class |
State
The class in this SCXML object model that corresponds to the
<state> SCXML element.
|
class |
TransitionalState
An abstract base class for state elements in SCXML that can be transitioned out from, such as State or Parallel.
|
Modifier and Type | Method and Description |
---|---|
Set<TransitionTarget> |
SimpleTransition.getTargets()
Get the set of transition targets (may be an empty list).
|
Map<String,TransitionTarget> |
SCXML.getTargets()
Get the targets map, which is a Map of all States and Parallels
associated with this state machine, keyed by their id.
|
Modifier and Type | Method and Description |
---|---|
void |
SCXML.addTarget(TransitionTarget target)
Add a target to this SCXML document.
|
boolean |
TransitionTarget.isDescendantOf(TransitionTarget context)
Checks whether this transition target (State or Parallel) is a
descendant of the transition target context.
|
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.notifyOnTransition(SCXMLExecutionContext exctx,
Transition t,
TransitionTarget target)
Notifies SCXMLListeners on the transition taken
|
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.