Rule Execution Server API

ilog.rules.factory
Class IlrTaskForkNodeStatement

java.lang.Object
  extended by ilog.rules.factory.IlrBaseStatement
      extended by ilog.rules.factory.IlrFlowNodeStatement
          extended by ilog.rules.factory.IlrControlNodeStatement
              extended by ilog.rules.factory.IlrSplitNodeStatement
                  extended by ilog.rules.factory.IlrTaskForkNodeStatement
All Implemented Interfaces:
ilog.rules.factory.IlrSourceElement, IlrStatement, Serializable

public final class IlrTaskForkNodeStatement
extends IlrSplitNodeStatement

Represents the class of a fork node in a rule flow.

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.

See Also:
IlrTaskFactory, IlrSplitNodeStatement, IlrTaskJoinNodeStatement, IlrControlNodeStatement, IlrFlowNodeStatement, Serialized Form

Constructor Summary
IlrTaskForkNodeStatement(String name)
          Builds a fork node for a ruleflow.
IlrTaskForkNodeStatement(String name, IlrFlowNodeStatement previousNode)
          Builds a fork node for a ruleflow and connects the created node to the passed node.
 
Method Summary
 
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

IlrTaskForkNodeStatement

public IlrTaskForkNodeStatement(String name)
Builds a fork node for a ruleflow. It is useful to set a label if the node is the target of a goto statement.

Parameters:
name - The label used to target the node in a goto statement.

IlrTaskForkNodeStatement

public IlrTaskForkNodeStatement(String name,
                                IlrFlowNodeStatement previousNode)
Builds a fork 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.

Parameters:
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.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013