|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object | +--org.apache.commons.scxml.model.Action
An abstract base class for executable elements in SCXML, such as <assign>, <log> etc.
| Constructor Summary | |
|---|---|
Action()
Constructor. |
|
| Method Summary | |
|---|---|
abstract void |
execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance. |
Executable |
getParent()
Get the Executable parent. |
State |
getParentState()
Return the parent state. |
void |
setParent(Executable parent)
Set the Executable parent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Action()
| Method Detail |
public final Executable getParent()
public final void setParent(Executable parent)
parent - The parent to set.
public final State getParentState()
throws ModelException
ModelException - For an unknown TransitionTarget subclass
public abstract void execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
throws ModelException,
SCXMLExpressionException
evtDispatcher - The EventDispatcher for this execution instanceerrRep - The ErrorReporter to broadcast any errors
during execution.scInstance - The state machine execution instance information.appLog - The application Log.derivedEvents - The collection to which any internal events
arising from the execution of this action
must be added.
ModelException - If the execution causes the model to enter
a non-deterministic state.
SCXMLExpressionException - If the execution involves trying
to evaluate an expression which is malformed.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||