|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.scxml.model.Action
org.apache.commons.scxml.model.Send
public class Send
The class in this SCXML object model that corresponds to the <send> SCXML element.
Constructor Summary | |
---|---|
Send()
Constructor. |
Method Summary | |
---|---|
void |
execute(EventDispatcher evtDispatcher,
ErrorReporter errRep,
SCInstance scInstance,
org.apache.commons.logging.Log appLog,
java.util.Collection derivedEvents)
Execute this action instance. |
java.lang.String |
getDelay()
Get the delay. |
java.lang.String |
getEvent()
Set the event to send. |
java.util.List |
getExternalNodes()
Get the list of external namespaced child nodes. |
java.lang.String |
getHints()
Get the hints for this <send> element. |
java.lang.String |
getNamelist()
Get the namelist. |
java.lang.String |
getSendid()
Get the identifier for this <send> element. |
java.lang.String |
getTarget()
Get the target for this <send> element. |
java.lang.String |
getTargettype()
Get the target type for this <send> element. |
void |
setDelay(java.lang.String delay)
Set the delay. |
void |
setEvent(java.lang.String event)
Get the event to send. |
void |
setExternalNodes(java.util.List externalNodes)
Set the list of external namespaced child nodes. |
void |
setHints(java.lang.String hints)
Set the hints for this <send> element. |
void |
setNamelist(java.lang.String namelist)
Set the namelist. |
void |
setSendid(java.lang.String sendid)
Set the identifier for this <send> element. |
void |
setTarget(java.lang.String target)
Set the target for this <send> element. |
void |
setTargettype(java.lang.String targettype)
Set the target type for this <send> element. |
Methods inherited from class org.apache.commons.scxml.model.Action |
---|
getNamespaces, getNamespacesKey, getParent, getParentState, setNamespaces, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Send()
Method Detail |
---|
public final java.lang.String getDelay()
public final void setDelay(java.lang.String delay)
delay
- The delay to set.public final java.util.List getExternalNodes()
getExternalNodes
in interface ExternalContent
public final void setExternalNodes(java.util.List externalNodes)
externalNodes
- The externalnode to set.public final java.lang.String getHints()
public final void setHints(java.lang.String hints)
hints
- The hints to set.public final java.lang.String getNamelist()
public final void setNamelist(java.lang.String namelist)
namelist
- The namelist to set.public final java.lang.String getSendid()
public final void setSendid(java.lang.String sendid)
sendid
- The sendid to set.public final java.lang.String getTarget()
public final void setTarget(java.lang.String target)
target
- The target to set.public final java.lang.String getTargettype()
public final void setTargettype(java.lang.String targettype)
targettype
- The targettype to set.public final void setEvent(java.lang.String event)
event
- The event to set.public final java.lang.String getEvent()
public void execute(EventDispatcher evtDispatcher, ErrorReporter errRep, SCInstance scInstance, org.apache.commons.logging.Log appLog, java.util.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 | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |