|
IBM Rational Functional Tester Version 8.2.1 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVariablesManager
The IVariablesManager
interface allows access to the input parameters
and the output variables from a script. The script will be able to retrieve the
input parameters as well as set the output variables.
Method Summary | |
---|---|
IVariable |
createOutputVariable(java.lang.String name,
java.lang.String value)
Given a name and a value , this method will create an instance of
IVariable . |
java.util.Iterator<IParameter> |
getAllInputParameters()
Retrieve a list of all input parameters. |
java.util.Iterator<IVariable> |
getAllOutputVariables()
Retrieve a list of all output variables. |
IParameter |
getInputParameter(java.lang.String name)
Given the name of the parameter, this method will return the IParameter
object for it. |
IVariable |
getOutputVariable(java.lang.String name)
Given the name of the variable, this method will return the IVariable
object for it. |
void |
setOutputVariable(IVariable variable)
This is a way of updating an output variable in case the value has changed since the variable was created. |
Method Detail |
---|
IParameter getInputParameter(java.lang.String name)
IParameter
object for it. If the parameter is not set, this will return a value of null
.
A parameter name of null
, empty string or a string that only contains spaces
is considered invalid.
name
-
null
if not set or invalid parameter name.IVariable getOutputVariable(java.lang.String name)
IVariable
object for it. If the Variable is not set, this will return a value of null
.
A Variable name of null
, empty string or a string that only contains spaces
is considered invalid.
name
-
null
if not set or invalid Variable name.IVariable createOutputVariable(java.lang.String name, java.lang.String value)
name
and a value
, this method will create an instance of
IVariable
. This variable is also added to the list of output variables.
name
- value
-
void setOutputVariable(IVariable variable)
createOutputVariable(String name, String value)
to create a new variable.
variable
- java.util.Iterator<IParameter> getAllInputParameters()
IParameter
on all input parametersjava.util.Iterator<IVariable> getAllOutputVariables()
IVaraible
on the list of output variables
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |