Skip navigation links

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


oracle.wcps.conductor.scenario.syntax
Interface ICompoundStatement

All Superinterfaces:
IStatement
All Known Subinterfaces:
ICatchStatement, IConditionalStatement, IForEachStatement, IIteratingStatement, IOtherwiseStatement, IScenarioStatement, ITransactionStatement, ITryStatement, 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

 

Field Summary
static java.lang.String INDEX_SEPARATOR
           
static java.lang.String INDEX_SEPARATOR_REGEX
           

 

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 afterUnmarshalJson(ICompoundStatement object)
           
 void deleteStatement(int index)
          Delete a statement at the specified index.
 java.util.List<IStatement> getBodyStatements()
          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.
 IStatement getStatementByIndex(java.lang.String statementIndex)
          Returns a statement by index id.
 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.
 void setBodyStatements(java.util.List<IStatement> body)
          Sets the body of this compound statement.

 

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

 

Field Detail

INDEX_SEPARATOR

static final java.lang.String INDEX_SEPARATOR
See Also:
Constant Field Values

INDEX_SEPARATOR_REGEX

static final java.lang.String INDEX_SEPARATOR_REGEX
See Also:
Constant Field Values

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.

getBodyStatements

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

setBodyStatements

void setBodyStatements(java.util.List<IStatement> body)
Sets the body of this compound statement.

indexOfStatement

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

getStatementByIndex

IStatement getStatementByIndex(java.lang.String statementIndex)
Returns a statement by index id.

If unable to retrieve a statement by the specified statement index, null will be returned.

See Also:
ICommonStatement#getStatementIndex()

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.

afterUnmarshalJson

void afterUnmarshalJson(ICompoundStatement object)

Skip navigation links

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


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