Rule Execution Server API

ilog.rules.factory
Class IlrFlowNodeStatement

java.lang.Object
  extended by ilog.rules.factory.IlrBaseStatement
      extended by ilog.rules.factory.IlrFlowNodeStatement
All Implemented Interfaces:
ilog.rules.factory.IlrSourceElement, IlrStatement, Serializable
Direct Known Subclasses:
IlrControlNodeStatement, IlrTaskInstanceStatement

public abstract class IlrFlowNodeStatement
extends IlrBaseStatement

This abstract class represents the super class of the nodes 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:
Serialized Form

Method Summary
abstract  Object exploreStatement(IlrFactoryExplorer explorer)
          Explores a node using a factory explorer and returns an object as a result.
 String getName()
          Returns the node's name.
abstract  void setNextNode(IlrFlowNodeStatement node)
          Sets the passed node as next node of this, this means that node will be executed after this.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setNextNode

public abstract void setNextNode(IlrFlowNodeStatement node)
Sets the passed node as next node of this, this means that node will be executed after this.

Parameters:
node - The node that follows this in the ruleflow.

getName

public String getName()
Returns the node's name. The name is the value passed in the node constructor and used to define a goto statement to this node. The node name can then be null if not goto statement is defined to the node.

Returns:
the node name.

exploreStatement

public abstract Object exploreStatement(IlrFactoryExplorer explorer)
Explores a node using a factory explorer and returns an object as a result.

Parameters:
explorer - The factory explorer.
Returns:
an object, or null if the exploration does not return a value.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013