|
||||||||||
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,
Collection derivedEvents)
Execute this action instance. |
String |
getDelay()
Get the delay. |
String |
getEvent()
Set the event to send. |
List |
getExternalNodes()
Get the list of external namespaced child nodes. |
String |
getHints()
Get the hints for this <send> element. |
String |
getNamelist()
Get the namelist. |
String |
getSendid()
Get the identifier for this <send> element. |
String |
getTarget()
Get the target for this <send> element. |
String |
getTargettype()
Get the target type for this <send> element. |
void |
setDelay(String delay)
Set the delay. |
void |
setEvent(String event)
Get the event to send. |
void |
setExternalNodes(List externalNodes)
Set the list of external namespaced child nodes. |
void |
setHints(String hints)
Set the hints for this <send> element. |
void |
setNamelist(String namelist)
Set the namelist. |
void |
setSendid(String sendid)
Set the identifier for this <send> element. |
void |
setTarget(String target)
Set the target for this <send> element. |
void |
setTargettype(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 String getDelay()
public final void setDelay(String delay)
delay
- The delay to set.public final List getExternalNodes()
getExternalNodes
in interface ExternalContent
public final void setExternalNodes(List externalNodes)
externalNodes
- The externalnode to set.public final String getHints()
public final void setHints(String hints)
hints
- The hints to set.public final String getNamelist()
public final void setNamelist(String namelist)
namelist
- The namelist to set.public final String getSendid()
public final void setSendid(String sendid)
sendid
- The sendid to set.public final String getTarget()
public final void setTarget(String target)
target
- The target to set.public final String getTargettype()
public final void setTargettype(String targettype)
targettype
- The targettype to set.public final void setEvent(String event)
event
- The event to set.public final String getEvent()
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 | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |