|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.scxml.model.Action
org.apache.commons.scxml.model.Cancel
public class Cancel
The class in this SCXML object model that corresponds to the <cancel> SCXML element.
Constructor Summary | |
---|---|
Cancel()
Constructor. |
Method Summary | |
---|---|
void |
execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
Collection derivedEvents)
Execute this action instance. |
String |
getSendid()
Get the ID of the send message that should be cancelled. |
void |
setSendid(String sendid)
Set the ID of the send message that should be cancelled. |
Methods inherited from class org.apache.commons.scxml.model.Action |
---|
getNamespaces, getNamespacesKey, getParent, getParentState, getParentTransitionTarget, setNamespaces, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cancel()
Method Detail |
---|
public String getSendid()
public void setSendid(String sendid)
sendid
- The sendid to set.public void execute(EventDispatcher evtDispatcher, ErrorReporter errRep, SCInstance scInstance, org.apache.commons.logging.Log appLog, Collection derivedEvents) throws ModelException, SCXMLExpressionException
execute
in class Action
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 All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |