|
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.IlrControlNodeStatement ilog.rules.factory.IlrSplitNodeStatement ilog.rules.factory.IlrTaskWhileNodeStatement
public final class IlrTaskWhileNodeStatement
Represents the class of a while
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
,
IlrSplitNodeStatement
,
IlrTaskJoinNodeStatement
,
IlrControlNodeStatement
,
IlrFlowNodeStatement
,
Serialized Form
Constructor Summary | |
---|---|
IlrTaskWhileNodeStatement(String name)
Builds a while node for a ruleflow. |
|
IlrTaskWhileNodeStatement(String name,
IlrFlowNodeStatement previousNode)
Builds a while node for a ruleflow and connects the
created node to the passed node. |
Method Summary | |
---|---|
IlrTest |
getTest()
Returns the test linked to the while node. |
void |
setTest(IlrTest test)
Sets the test linked to the while node. |
Methods inherited from class ilog.rules.factory.IlrSplitNodeStatement |
---|
close |
Methods inherited from class ilog.rules.factory.IlrFlowNodeStatement |
---|
exploreStatement, getName, setNextNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrTaskWhileNodeStatement(String name)
while
node for a ruleflow.
It is useful to set a label if the node is the target of a goto
statement.
name
- The label used to target the node in a goto
statement.public IlrTaskWhileNodeStatement(String name, IlrFlowNodeStatement previousNode)
while
node for a ruleflow and connects the
created node to the passed node. This constructor should not be called
to connect the new node to an IlrTaskIfNodeStatement
nor to an IlrTaskSwitchNodeStatement
. Instead, you should use
IlrTaskIfNodeStatement.setTrueNode
,
IlrTaskIfNodeStatement.setFalseNode
,
IlrTaskSwitchNodeStatement.setCaseNode
,
IlrTaskSwitchNodeStatement.setDefaultNode
.
It is useful to set a label if the node is the target of a goto
statement.
name
- The label used to target the node in a goto statement.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 void setTest(IlrTest test)
while
node.
test
- The test executed by the node.public IlrTest getTest()
while
node.
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |