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.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.
|
Modifier and Type | Method and Description |
---|---|
void |
SCXMLExecutor.addListener(Transition transition,
SCXMLListener listener)
Add a listener to this transition.
|
void |
NotificationRegistry.fireOnTransition(SCXML observable,
TransitionTarget from,
TransitionTarget to,
Transition transition)
Inform all relevant listeners of a transition that has occured.
|
void |
NotificationRegistry.fireOnTransition(Transition observable,
TransitionTarget from,
TransitionTarget to,
Transition transition)
Inform all relevant listeners of a transition that has occured.
|
static Set |
SCXMLHelper.getStatesExited(Transition t,
Set currentStates)
Returns the set of all states (and parallels) which are exited if a
given transition t is going to be taken.
|
static boolean |
SCXMLHelper.inConflict(Transition t1,
Transition t2,
Set currentStates)
According to the UML definition, two transitions
are conflicting if the sets of states they exit overlap.
|
void |
SCXMLListener.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition)
Handle the transition.
|
void |
SCXMLExecutor.removeListener(Transition transition,
SCXMLListener listener)
Remove this listener for this transition.
|
Modifier and Type | Method and Description |
---|---|
void |
Tracer.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition) |
void |
AbstractSCXMLListener.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition) |
void |
SimpleSCXMLListener.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition) |
void |
AbstractStateMachine.EntryListener.onTransition(TransitionTarget from,
TransitionTarget to,
Transition transition)
No-op.
|
static String |
LogUtils.transToString(TransitionTarget from,
TransitionTarget to,
Transition transition)
Create a human readable log view of this transition.
|
Modifier and Type | Method and Description |
---|---|
static void |
SCXMLSerializer.serializeTarget(StringBuffer b,
Transition t,
String indent)
Deprecated.
Inline <target> element has been deprecated
in the SCXML WD
|
static void |
SCXMLSerializer.serializeTransition(StringBuffer b,
Transition t,
String indent)
Serialize this Transition object.
|
Modifier and Type | Method and Description |
---|---|
Transition |
History.getTransition()
Get the transition.
|
Transition |
Initial.getTransition()
Get the initial transition.
|
Modifier and Type | Method and Description |
---|---|
void |
TransitionTarget.addTransition(Transition transition)
Add a transition to the map of all outgoing transitions for
this transition target.
|
void |
History.setTransition(Transition transition)
Set the transition.
|
void |
Initial.setTransition(Transition transition)
Set the initial transition.
|
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.