|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.factory.IlrBaseStatement ilog.rules.factory.IlrFlowNodeStatement ilog.rules.factory.IlrTaskInstanceStatement
public final class IlrTaskInstanceStatement
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 Summary | |
---|---|
IlrTaskInstanceStatement(String label,
IlrTaskFactory task)
Builds a task invocation node for a ruleflow. |
|
IlrTaskInstanceStatement(String label,
IlrTaskFactory task,
IlrFlowNodeStatement previousNode)
Builds a task invocation node for a ruleflow and connects the created node to the passed node. |
Method Summary | |
---|---|
IlrTaskFactory |
getTask()
Returns the task invoked in the node. |
void |
setNextNode(IlrFlowNodeStatement node)
Connects the passed node to this . |
Methods inherited from class ilog.rules.factory.IlrFlowNodeStatement |
---|
exploreStatement, getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrTaskInstanceStatement(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(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
.Method Detail |
---|
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 IlrFlowNodeStatement
node
- The node connected after this
.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |