JTR 5.0 API Documentation

jtr.config.script
Class ScriptParams

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

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

Class that maps the script-params element of the jtr.xml configuration file. See the jtr.xsd grammar for more information. This is a container of script-params actual parameters definitions.

Since:
5.0
Version:
5.0
Author:
frusso
See Also:
Serialized Form

Constructor Summary
ScriptParams()
           
 
Method Summary
 void addScriptParameter(ScriptParam p)
          Add a new actual parameter definition.
 ScriptParam getScriptParameter(java.lang.String name)
          Get a parameter by name.
 java.util.Map<java.lang.String,ScriptParam> getScriptParameters()
          Get an immutable-view to the actaul parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScriptParams

public ScriptParams()
Method Detail

addScriptParameter

public void addScriptParameter(ScriptParam p)
Add a new actual parameter definition.

Parameters:
p -

getScriptParameter

public ScriptParam getScriptParameter(java.lang.String name)
Get a parameter by name. A null value means the name cannot be resolved.

Parameters:
name -
Returns:

getScriptParameters

public java.util.Map<java.lang.String,ScriptParam> getScriptParameters()
Get an immutable-view to the actaul parameters.

Returns:

The JTR Project is licensed under GPL version 2