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 IStatement

All Known Subinterfaces:
ICompoundStatement, IConditionalStatement, IConditionalStatements, IExecutableExpressionStatement, IForEachStatement, IInvokeInputParameter, IInvokeProviderStatement, IInvokeScenarioStatement, IIteratingStatement, IRaiseErrorStatement, IReturnStatement, IScenarioStatement, IVariableAssignmentStatement, IWhileStatement

public interface IStatement

Base interface for all scenario statements.


Nested Class Summary
static class IStatement.ErrorLevel
          Enumerated type for specified error levels.

 

Method Summary
 java.lang.String getComments()
          Gets/sets comments for the current statement
 java.lang.String getContainerScenarioName()
          Returns the name of the scenario containing this statement.
 IStatement.ErrorLevel getErrorLevel()
          Returns the error level of the current statement, if any.
 java.lang.String getErrorMessage()
          Returns the error message of the current statement, if any.
 java.lang.String getId()
          Gets/sets an id for this statement implementation.
 java.lang.String getLabel()
          Gets/sets a label for the current statement.
 ICompoundStatement getParentStatement()
          Returns the parent container/body statement of the current statement.
 void raiseError(IStatement.ErrorLevel errorLevel, java.lang.String msg)
          Method to raise an error for the current statement.
 void setComments(java.lang.String comments)
           
 void setId(java.lang.String id)
           
 void setLabel(java.lang.String label)
           

 

Method Detail

getId

java.lang.String getId()
Gets/sets an id for this statement implementation.

This is used primarily for diagram and tooling, and can be null.


setId

void setId(java.lang.String id)

getLabel

java.lang.String getLabel()
Gets/sets a label for the current statement.

Also designed for tooling for tooltip hovering.


setLabel

void setLabel(java.lang.String label)

getComments

java.lang.String getComments()
Gets/sets comments for the current statement

setComments

void setComments(java.lang.String comments)

raiseError

void raiseError(IStatement.ErrorLevel errorLevel,
                java.lang.String msg)
Method to raise an error for the current statement.

getErrorLevel

IStatement.ErrorLevel getErrorLevel()
Returns the error level of the current statement, if any.

getErrorMessage

java.lang.String getErrorMessage()
Returns the error message of the current statement, if any.

getParentStatement

ICompoundStatement getParentStatement()
Returns the parent container/body statement of the current statement.

Will return null if the current statement is IScenarioStatement.


getContainerScenarioName

java.lang.String getContainerScenarioName()
Returns the name of the scenario containing this statement.

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.