|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.factory.IlrBaseStatement ilog.rules.factory.IlrStatementBlock ilog.rules.factory.IlrForStatement
public final class IlrForStatement
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.
Nested Class Summary | |
---|---|
static class |
IlrForStatement.ForBlock
This class represents the inner block part of an for
statement. |
Constructor Summary | |
---|---|
IlrForStatement(IlrStatement[] initStmts,
IlrTest continueTest,
IlrStatement[] stepStmts,
IlrStatement[] statements)
Constructs a for instruction. |
|
IlrForStatement(IlrStatement initStmt,
IlrTest continueTest,
IlrStatement stepStmt,
IlrStatement[] statements)
Constructs a for instruction. |
Method Summary | |
---|---|
Object |
exploreStatement(IlrFactoryExplorer explorer)
Explores this method call as a statement using a factory explorer. |
IlrTest |
getContinueTest()
Returns the test of this statement. |
IlrForStatement.ForBlock |
getInitBlock()
Returns the init block of this statement. |
IlrForStatement.ForBlock |
getStepBlock()
Returns the step block of this statement. |
boolean |
hasContinueTest()
Knows if the test of this statement exists. |
Methods inherited from class ilog.rules.factory.IlrStatementBlock |
---|
addStatement, enumerateStatements, getStatementCount, getStatements, removeStatement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IlrForStatement(IlrStatement[] initStmts, IlrTest continueTest, IlrStatement[] stepStmts, IlrStatement[] statements)
initStmts
- the init statementscontinueTest
- the for continue teststepStmts
- the step statements.statements
- the statements of the inner block.public IlrForStatement(IlrStatement initStmt, IlrTest continueTest, IlrStatement stepStmt, IlrStatement[] statements)
initStmt
- the bind init statementcontinueTest
- the for continue teststepStmt
- the next statement.statements
- the statements of the inner block.Method Detail |
---|
public Object exploreStatement(IlrFactoryExplorer explorer)
explorer
- The factory explorer.
null
if the method does not return a value.public IlrTest getContinueTest()
IlrTest
representing the test.public boolean hasContinueTest()
boolean
representing the result.public IlrForStatement.ForBlock getInitBlock()
ForBlock
representing the init blockpublic IlrForStatement.ForBlock getStepBlock()
ForBlock
representing the step block
|
Rule Execution Server API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |