JTR 5.0 API Documentation

jtr.script
Interface IScriptContext

All Known Implementing Classes:
ScriptContext

public interface IScriptContext

This interface represents the default context accessible from every script via the global.jtrContext keyword. This keyword can be used to invoke all the methods exposed by this class instances.

Since:
5.0
Version:
5.0
Author:
frusso

Method Summary
 java.lang.String getCategory()
          Get the runner's category
 int getCurrentEpoch()
          Get the current epoch for the script that has been provided with this context
 int getCurrentRun()
          Get the current run for the script that has been provided with this context
 int getInstanceID()
          Get the runner's unique progessive identifier
 ParametersMap getParameters()
          Get the runner's parameters
 

Method Detail

getCurrentEpoch

int getCurrentEpoch()
Get the current epoch for the script that has been provided with this context

Returns:

getCurrentRun

int getCurrentRun()
Get the current run for the script that has been provided with this context

Returns:

getCategory

java.lang.String getCategory()
Get the runner's category

Returns:

getInstanceID

int getInstanceID()
Get the runner's unique progessive identifier

Returns:

getParameters

ParametersMap getParameters()
Get the runner's parameters

Returns:

The JTR Project is licensed under GPL version 2