Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


oracle.wcps.conductor.scenario.syntax
Interface ICompoundStatement

All Superinterfaces:
IStatement
All Known Subinterfaces:
IConditionalStatement, IForEachStatement, IIteratingStatement, IScenarioStatement, IWhileStatement

public interface ICompoundStatement
extends IStatement

Container for multiple IStatements.


Nested Class Summary

 

Nested classes/interfaces inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement
IStatement.ErrorLevel

 

Method Summary
 void addStatement(int index, IStatement statement)
          Add a statement to the body of this compound statement at the specified position/index.
 void addStatement(IStatement statement)
          Add a statement to the body of this compound statement.
 void deleteStatement(int index)
          Delete a statement at the specified index.
 java.util.List<IStatement> getBody()
          Returns the body of this compound statement.
 java.lang.String getFirstErrorMessage()
          Returns the error message of the first statement that has an error.
 IStatement getStatement(int index)
          Retrieves a statement at the specified index.
 java.lang.Integer indexOfStatement(IStatement statement)
          Returns the index of the first instance of the specified statement.
 void raiseError(IStatement.ErrorLevel errorLevel)
          Used to identify a compound statement that contains statements with errors.

 

Methods inherited from interface oracle.wcps.conductor.scenario.syntax.IStatement
getComments, getContainerScenarioName, getErrorLevel, getErrorMessage, getId, getLabel, getParentStatement, raiseError, setComments, setId, setLabel

 

Method Detail

addStatement

void addStatement(IStatement statement)
Add a statement to the body of this compound statement.

addStatement

void addStatement(int index,
                  IStatement statement)
Add a statement to the body of this compound statement at the specified position/index.

deleteStatement

void deleteStatement(int index)
Delete a statement at the specified index.

getStatement

IStatement getStatement(int index)
Retrieves a statement at the specified index.

getBody

java.util.List<IStatement> getBody()
Returns the body of this compound statement.

indexOfStatement

java.lang.Integer indexOfStatement(IStatement statement)
Returns the index of the first instance of the specified statement.

raiseError

void raiseError(IStatement.ErrorLevel errorLevel)
Used to identify a compound statement that contains statements with errors.

getFirstErrorMessage

java.lang.String getFirstErrorMessage()
Returns the error message of the first statement that has an error.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal
11g Release 1 (11.1.1.6.0)
E15995-05


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