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 IScenarioStatement

All Superinterfaces:
ICompoundStatement, IStatement

public interface IScenarioStatement
extends ICompoundStatement

Represents the scenario definition.


Nested Class Summary

 

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

 

Method Summary
 IScenarioInputParameter addScenarioInputParameter(java.lang.String paramName, boolean required)
          Adds and returns a scenario input parameter to this scenario definition.
 java.lang.String getName()
          Get/Set name of the scenario.
 java.util.List<IScenarioInputParameter> getScenarioInputParameters()
          Gets/Defines input parameters that may be required to execute the scenario.
 java.util.List<java.lang.String> getTags()
          Get/Set tags of the scenario.
 boolean hasErrors()
          Returns true if the scenario definition has compile time errors.
 boolean isValidated()
          Returns true if the scenario has already been validated.
 void setName(java.lang.String name)
           
 void setScenarioInputParameters(java.util.List<IScenarioInputParameter> parameters)
           
 void setTags(java.util.List<java.lang.String> tags)
           

 

Methods inherited from interface oracle.wcps.conductor.scenario.syntax.ICompoundStatement
addStatement, addStatement, deleteStatement, getBody, getFirstErrorMessage, getStatement, indexOfStatement, raiseError

 

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

 

Method Detail

getName

java.lang.String getName()
Get/Set name of the scenario.

setName

void setName(java.lang.String name)

getTags

java.util.List<java.lang.String> getTags()
Get/Set tags of the scenario.

setTags

void setTags(java.util.List<java.lang.String> tags)

addScenarioInputParameter

IScenarioInputParameter addScenarioInputParameter(java.lang.String paramName,
                                                  boolean required)
Adds and returns a scenario input parameter to this scenario definition.

getScenarioInputParameters

java.util.List<IScenarioInputParameter> getScenarioInputParameters()
Gets/Defines input parameters that may be required to execute the scenario.

This is for metadata purposes. Parameters marked as "required" will cause an exception if the scenario is attempted to be executed without specifying the input parameter.


setScenarioInputParameters

void setScenarioInputParameters(java.util.List<IScenarioInputParameter> parameters)

hasErrors

boolean hasErrors()
Returns true if the scenario definition has compile time errors.

isValidated

boolean isValidated()
Returns true if the scenario has already been validated.

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.