unitee.server
Class DefaultTestParameters

java.lang.Object
  |
  +--unitee.server.AbstractTestParameters
        |
        +--unitee.server.DefaultTestParameters

public class DefaultTestParameters
extends AbstractTestParameters

Default implementation of test parameters interface. This class stores paramters in a hashtable.


Constructor Summary
DefaultTestParameters(TestParameters chained)
           
 
Method Summary
protected  java.lang.Object get(java.lang.String name)
          The main get method depends on the parameters storing implementation, and therefore is not implemented here.
 java.lang.String[] getAllParameterNames()
          Returns all parameters of all chained TestParameters.
 java.lang.String[] getParameterNames()
          Returns all local parameters for this test.
 void removeParameter(java.lang.String name)
           
protected  void set(java.lang.String name, java.lang.Class clazz, java.lang.Object value)
          The main set method depends on the parameters storing implementation, and therefor is not implemented here.
 
Methods inherited from class unitee.server.AbstractTestParameters
getByteArray, getChainedParameters, getDouble, getLong, getParameterType, getPassword, getString, setByteArray, setChainedParameters, setDouble, setLong, setPassword, setString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultTestParameters

public DefaultTestParameters(TestParameters chained)
Parameters:
params -  
Throws:
-  
Method Detail

get

protected java.lang.Object get(java.lang.String name)
Description copied from class: AbstractTestParameters
The main get method depends on the parameters storing implementation, and therefore is not implemented here.
Overrides:
get in class AbstractTestParameters
Parameters:
name -  
Returns:
Object
Throws:
ParameterException -  

getAllParameterNames

public java.lang.String[] getAllParameterNames()
Description copied from interface: TestParameters
Returns all parameters of all chained TestParameters.

getParameterNames

public java.lang.String[] getParameterNames()
Description copied from interface: TestParameters
Returns all local parameters for this test.

set

protected void set(java.lang.String name,
                   java.lang.Class clazz,
                   java.lang.Object value)
Description copied from class: AbstractTestParameters
The main set method depends on the parameters storing implementation, and therefor is not implemented here.
Overrides:
set in class AbstractTestParameters
Parameters:
name -  
clazz -  
value -  
Returns:
void
Throws:
-  

removeParameter

public void removeParameter(java.lang.String name)