ilog.rules.factory

Class IlrTaskForkNodeStatement

    • Constructor Detail

      • IlrTaskForkNodeStatement

        public IlrTaskForkNodeStatement(java.lang.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(java.lang.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.

© Copyright IBM Corp. 1987, 2021