public class Cancel extends Action
Constructor and Description |
---|
Cancel()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(ActionExecutionContext exctx)
Execute this action instance.
|
String |
getSendid()
Get the ID of the send message that should be cancelled.
|
String |
getSendidexpr()
Get the expression that evaluates to 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.
|
void |
setSendidexpr(String sendidexpr)
Set the expression that evaluates to the ID of the send message that should be cancelled.
|
getNamespaces, getNamespacesKey, getParent, getParentEnterableState, getTextContentIfNodeResult, setNamespaces, setParent
public Cancel()
public String getSendid()
public void setSendid(String sendid)
sendid
- The sendid to set.public String getSendidexpr()
public void setSendidexpr(String sendidexpr)
sendidexpr
- the expression that evaluates to the ID of the send message that should be cancelled.public void execute(ActionExecutionContext exctx) throws ModelException, SCXMLExpressionException
execute
in class Action
exctx
- The ActionExecutionContext for this execution instanceModelException
- 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–2015 The Apache Software Foundation. All rights reserved.