ilog.rules.factory

Class IlrWhileStatement

  • All Implemented Interfaces:
    ilog.rules.factory.IlrSourceElement, IlrStatement, java.io.Serializable


    public final class IlrWhileStatement
    extends IlrStatementBlock
    This class represents a while statement of the rule language.

    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
    • Constructor Detail

      • IlrWhileStatement

        public IlrWhileStatement(IlrTest test,
                         IlrStatement[] statements)
        Constructs a while statement containing initially the statements given in the array statements
        Parameters:
        test - The test to perform at each loop.
        statements - The statements contained in the block. This parameter can be null. In this case, it represents an empty block.
    • Method Detail

      • getTest

        public IlrTest getTest()
        Returns the test to perform at each loop.
        Returns:
        An IlrTest representing the test.
      • exploreStatement

        public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
        This method explores the while statement using a factory explorer.
        Parameters:
        explorer - The factory explorer.
        Returns:
        An object, the result of the exploration, or null if the method does not return a value.

© Copyright IBM Corp. 1987, 2017