Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


oracle.wcps.conductor.scenario.syntax
Interface IConditionalStatements

All Superinterfaces:
IStatement

public interface IConditionalStatements
extends IStatement

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.
 java.util.List<IConditionalStatement> getConditionalStatements()
          Returns the collection of conditional statements.
 ICompoundStatement getOtherwiseStatement()
          Returns the otherwise statement.
 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, getContainerScenarioName, getErrorLevel, getErrorMessage, getId, getLabel, getParentStatement, raiseError, setComments, setId, setLabel

 

Method Detail

addConditionalStatement

void addConditionalStatement(IConditionalStatement statement)
Adds a compound statement to execute, but only if the supplied expression evaluates to true.
Parameters:
conditionalExpression - The expression to evaluate.
statementToExecute - The block of statement(s) to execute if the provided conditionalExpression evaluates to true.

getConditionalStatements

java.util.List<IConditionalStatement> getConditionalStatements()
Returns the collection of conditional statements.

setOtherwiseStatement

void setOtherwiseStatement(ICompoundStatement statementToExecute)
Adds a compound statement to execute, but only if the provided conditional statements evaluate to false.
Parameters:
statementToExecute - The block of statement(s) to execute if none of the specified conditionalExpression statements evaluate to true.

getOtherwiseStatement

ICompoundStatement getOtherwiseStatement()
Returns the otherwise statement.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter
11g Release 1 (11.1.1.4.0)
E15995-03


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.