public final class IlrTaskInstanceStatement extends IlrFlowNodeStatement
This class represents the class of a task invocation node in a ruleflow.
Warning: Serialized objects of this class will not be compatible with future releases. The current serialization support is appropriate for short-term storage or RMI between applications running the same version of IBM Decision Server.
IlrTaskFactory,
IlrFlowNodeStatement,
Serialized Form| Constructor and Description |
|---|
IlrTaskInstanceStatement(java.lang.String label,
IlrTaskFactory task)
Builds a task invocation node for a ruleflow.
|
IlrTaskInstanceStatement(java.lang.String label,
IlrTaskFactory task,
IlrFlowNodeStatement previousNode)
Builds a task invocation node for a ruleflow and connects the created
node to the passed node.
|
| Modifier and Type | Method and Description |
|---|---|
IlrTaskFactory |
getTask()
Returns the task invoked in the node.
|
void |
setNextNode(IlrFlowNodeStatement node)
Connects the passed node to
this. |
exploreStatement, getNamepublic IlrTaskInstanceStatement(java.lang.String label,
IlrTaskFactory task)
Builds a task invocation node for a ruleflow.
It is useful to set a label if the node is the target of a goto
statement.
label - The label used to target the node in a goto statement.task - The task to which the node refers.public IlrTaskInstanceStatement(java.lang.String label,
IlrTaskFactory task,
IlrFlowNodeStatement previousNode)
Builds a task invocation node for a ruleflow and connects the created
node to the passed node. This constructor must not be called to connect
the new node to an IlrTaskIfNodeStatement nor to an
IlrTaskSwitchNodeStatement; instead use
IlrTaskIfNodeStatement.setTrueNode,
IlrTaskIfNodeStatement.setFalseNode,
IlrTaskSwitchNodeStatement.setCaseNode, or
IlrTaskSwitchNodeStatement.setDefaultNode.
It is useful to set a label if the node is the target of a
goto statement.
label - The label used to target the node in a goto statement.task - The task to which the node refers.previousNode - The node that is before the new node in the
ruleflow. The two nodes are connected by calling the method
IlrFlowNodeStatement.setNextNode.public IlrTaskFactory getTask()
Returns the task invoked in the node.
public void setNextNode(IlrFlowNodeStatement node)
Connects the passed node to this. The connected node is
executed after this during the flow execution.
setNextNode in class IlrFlowNodeStatementnode - The node connected after this.© Copyright IBM Corp. 1987, 2017