JTR 5.0 API Documentation

jtr.config.script
Class LScript

java.lang.Object
  extended by jtr.config.script.LScript
All Implemented Interfaces:
java.io.Serializable, Script

public class LScript
extends java.lang.Object
implements Script, java.io.Serializable

Class that maps the l-script element of the jtr.xml configuration file. See the jtr.xsd grammar for more information. A LScrip is a library-script, that is a script that can be used by PScripts to avoid code duplication.
Every PScrip has a name that must be unique in the JTR-configuration it belongs to.
Since library-scripts are only used by parameterization-scripts, it is not necessary to specify in the jtr.xml file either their output variable name nor their formal parameters definition.
The only valid constraint is that all the scripts must be expressed in the same scripting language.

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

Constructor Summary
LScript()
           
 
Method Summary
 java.lang.String getBody()
          Get the script's body
 void setBody(java.lang.String body)
          Set the script's body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LScript

public LScript()
Method Detail

setBody

public void setBody(java.lang.String body)
Set the script's body.

Parameters:
body -

getBody

public java.lang.String getBody()
Get the script's body

Specified by:
getBody in interface Script
Returns:

The JTR Project is licensed under GPL version 2