oracle.odi.sdk.invocation
Class OdiCommandScenario

java.lang.Object
  extended by oracle.odi.sdk.invocation.OdiCommand
      extended by oracle.odi.sdk.invocation.OdiCommandScenario

public class OdiCommandScenario
extends OdiCommand

A scenario execution request.


Field Summary
 
Fields inherited from class oracle.odi.sdk.invocation.OdiCommand
SYNC_MODE_ASYNCHRONOUS, SYNC_MODE_SYNCHRONOUS
 
Constructor Summary
OdiCommandScenario()
           
 
Method Summary
 void addVariable(java.lang.String pName, java.lang.String pValue)
          Sets a variable's value for the scenario execution.
 java.lang.String getKeywords()
          Returns the list of keywords used for running this scenario.
 java.lang.String getScenName()
          Returns the name of the scenario.
 java.lang.String getScenVersion()
          Returns the version of the scenario.
 java.lang.String getSessionName()
          Returns the name of the session.
 void setKeywords(java.lang.String pKeywords)
          Sets the keywords to used for running this scenario.
 void setScenName(java.lang.String pScenName)
          Sets the scenario to run.
 void setScenVersion(java.lang.String pScenVersion)
          Sets the version of the scenario to run.
 void setSessionName(java.lang.String pSessionName)
          Sets the name to give to the session.
 
Methods inherited from class oracle.odi.sdk.invocation.OdiCommand
getContext, getLogLevel, getSyncMode, setContext, setLogLevel, setSyncMode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OdiCommandScenario

public OdiCommandScenario()
Method Detail

getKeywords

public java.lang.String getKeywords()
Returns the list of keywords used for running this scenario.

Returns:
List of keywords specified for the scenario.

setKeywords

public void setKeywords(java.lang.String pKeywords)
Sets the keywords to used for running this scenario.

Parameters:
pKeywords - Comma-separated list of keywords for the scenario.

getScenName

public java.lang.String getScenName()
Returns the name of the scenario.

Returns:
Scenario Name.

setScenName

public void setScenName(java.lang.String pScenName)
Sets the scenario to run.

Parameters:
pScenName - Name of the scenario to run.

getScenVersion

public java.lang.String getScenVersion()
Returns the version of the scenario.

Returns:
Scenario Version.

setScenVersion

public void setScenVersion(java.lang.String pScenVersion)
Sets the version of the scenario to run.

Parameters:
pScenVersion - Scenario Version to run.

getSessionName

public java.lang.String getSessionName()
Returns the name of the session.

Returns:
Name of the session.

setSessionName

public void setSessionName(java.lang.String pSessionName)
Sets the name to give to the session.

Parameters:
pSessionName - Name of the session.

addVariable

public void addVariable(java.lang.String pName,
                        java.lang.String pValue)
Sets a variable's value for the scenario execution.

Parameters:
pName - Variable name.
pValue - Variable value.