|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConditionalStatements
Defines the body for condition and otherwise statements.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement |
---|
IStatement.ErrorLevel |
Method Summary | |
---|---|
void |
addConditionalStatement(IConditionalStatement statement) Adds a compound statement to execute, but only if the supplied expression evaluates to true. |
void |
addConditionalStatement(int index, IConditionalStatement statement) Adds a compound statement to execute at the specified index, but only if the supplied expression evaluates to true. |
java.util.List<IConditionalStatement> |
getConditionalStatements() Returns the collection of conditional statements. |
ICompoundStatement |
getOtherwiseStatement() Returns the otherwise statement. |
void |
removeConditionalStatement(IConditionalStatement statement) Removes the conditional statement |
void |
removeConditionalStatement(int index) Removes the conditional statement at given index |
void |
setOtherwiseStatement(ICompoundStatement statementToExecute) Adds a compound statement to execute, but only if the provided conditional statements evaluate to false. |
Methods inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement |
---|
getComments, getContainerScenario, getErrorLevel, getErrorMessage, getId, getLabel, getNodeName, getParentStatement, getScenarioStatementIndex, getStatementIndex, raiseError, setComments, setId, setLabel |
Method Detail |
---|
void addConditionalStatement(IConditionalStatement statement)
void addConditionalStatement(int index, IConditionalStatement statement)
index
- The index of the new conditional statement.statement
- The statement to add.void removeConditionalStatement(IConditionalStatement statement)
statement
- The statement to remove.void removeConditionalStatement(int index)
index
- The index of the conditional statement to remove.java.util.List<IConditionalStatement> getConditionalStatements()
void setOtherwiseStatement(ICompoundStatement statementToExecute)
statementToExecute
- The block of statement(s) to execute if none of the specified conditionalExpression statements evaluate to true.ICompoundStatement getOtherwiseStatement()
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.9.0) E15995-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |