JTR 5.0 API Documentation

jtr.config
Class RunnerConfigParam

java.lang.Object
  extended by jtr.config.RunnerConfigParam
All Implemented Interfaces:
java.io.Serializable

public class RunnerConfigParam
extends java.lang.Object
implements java.io.Serializable

A single RunnerConfigParam defines one single parameter name-value pair, to be used by the adopted IParamsAssigner for correctly assigning parameters to the configured IRunner.

Since:
1.0
Version:
5.0
Author:
Francesco Russo (frusso@dev.java.net)
See Also:
Serialized Form

Nested Class Summary
static class RunnerConfigParam.ParamType
          Types of supported runner-parameters type.
 
Constructor Summary
RunnerConfigParam()
          Costructor.
 
Method Summary
 java.lang.String getName()
          Returns the name of the parameter.
 RunnerConfigParam.ParamType getParamType()
           
 ScriptParams getScriptParams()
          Get the actual parameters required for invoking a p-script.
 java.lang.String getType()
          Gets the type of the parameter.
 java.lang.String getValue()
          Gets the actual value of the parameter.
 void setName(java.lang.String name)
          Sets the name of the parameter.
 void setScriptParams(ScriptParams scriptParams)
          Set the actual parameters required for invoking a p-script.
 void setType(java.lang.String type)
          Sets the type of the parameter.
 void setValue(java.lang.String value)
          Sets the actual value of the parameter.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RunnerConfigParam

public RunnerConfigParam()
Costructor.

Method Detail

getName

public java.lang.String getName()
Returns the name of the parameter.

Returns:
String

setName

public void setName(java.lang.String name)
Sets the name of the parameter.

Parameters:
name - String

getValue

public java.lang.String getValue()
Gets the actual value of the parameter.

Returns:
String

setValue

public void setValue(java.lang.String value)
Sets the actual value of the parameter.

Parameters:
value - String

getParamType

public RunnerConfigParam.ParamType getParamType()
Returns:

getType

public java.lang.String getType()
Gets the type of the parameter.

Note: this feature in unused at the moment

Returns:
String

setType

public void setType(java.lang.String type)
Sets the type of the parameter.

Note: this feature in unused at the moment

Parameters:
type - String

setScriptParams

public void setScriptParams(ScriptParams scriptParams)
Set the actual parameters required for invoking a p-script.

Parameters:
scriptParams -

getScriptParams

public ScriptParams getScriptParams()
Get the actual parameters required for invoking a p-script.

Returns:

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()

The JTR Project is licensed under GPL version 2