ilog.rules.factory

Class IlrForStatement

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


    public final class IlrForStatement
    extends IlrStatementBlock
    This class represents a for instruction 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

      • IlrForStatement

        public IlrForStatement(IlrStatement[] initStmts,
                       IlrTest continueTest,
                       IlrStatement[] stepStmts,
                       IlrStatement[] statements)
        Constructs a for instruction.
        Parameters:
        initStmts - the init statements
        continueTest - the for continue test
        stepStmts - the step statements.
        statements - the statements of the inner block.
      • IlrForStatement

        public IlrForStatement(IlrStatement initStmt,
                       IlrTest continueTest,
                       IlrStatement stepStmt,
                       IlrStatement[] statements)
        Constructs a for instruction.
        Parameters:
        initStmt - the bind init statement
        continueTest - the for continue test
        stepStmt - the next statement.
        statements - the statements of the inner block.
    • Method Detail

      • exploreStatement

        public java.lang.Object exploreStatement(IlrFactoryExplorer explorer)
        Explores this method call as a 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.
      • getContinueTest

        public IlrTest getContinueTest()
        Returns the test of this statement.
        Returns:
        An IlrTest representing the test.
      • hasContinueTest

        public boolean hasContinueTest()
        Knows if the test of this statement exists.
        Returns:
        An boolean representing the result.
      • getInitBlock

        public IlrForStatement.ForBlock getInitBlock()
        Returns the init block of this statement.
        Returns:
        An ForBlock representing the init block
      • getStepBlock

        public IlrForStatement.ForBlock getStepBlock()
        Returns the step block of this statement.
        Returns:
        An ForBlock representing the step block

© Copyright IBM Corp. 1987, 2017