public class Send extends Action implements ExternalContent
| Constructor and Description |
|---|
Send()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getNamespaces, getNamespacesKey, getParent, getParentState, getParentTransitionTarget, setNamespaces, setParentpublic final String getDelay()
public final void setDelay(String delay)
delay - The delay to set.public final List getExternalNodes()
getExternalNodes in interface ExternalContentpublic 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 ActionevtDispatcher - 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.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.