|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.config.script.PScript
public class PScript
Class that maps the p-script
element of the jtr.xml
configuration file. See the jtr.xsd
grammar for more information.
A PScrip
is a parameterization-script, that is a script used to
produce values that must be used to initialize a runner's property.
Every PScrip
has a name that must be unique in the JTR-configuration
it belongs to.
Obviously, it also has a body, an output container and a set of
formal parameters.
Constructor Summary | |
---|---|
PScript()
|
Method Summary | |
---|---|
java.lang.String |
getBody()
Get the script's body. |
Inputs |
getInputs()
Get the formal parameters required by the script. |
java.lang.String |
getName()
Get the script's unique name. |
java.lang.String |
getOutput()
Get the name of the variable that must store the script's return value if any. |
void |
setBody(java.lang.String val)
Set the script's body. |
void |
setInputs(Inputs val)
Set the formal parameters required by the script. |
void |
setName(java.lang.String val)
Set the script's unique name. |
void |
setOutput(java.lang.String val)
Set the name of the variable that will store the script's output if any. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PScript()
Method Detail |
---|
public void setName(java.lang.String val)
val
- public void setBody(java.lang.String val)
val
- public void setOutput(java.lang.String val)
val
- public void setInputs(Inputs val)
val
- public java.lang.String getName()
public java.lang.String getBody()
getBody
in interface Script
public java.lang.String getOutput()
public Inputs getInputs()
public java.lang.String toString()
toString
in class java.lang.Object
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |