|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRunnerClean
This interface represents a runner in its CLEAN
state.
This means that the runner has simply been created but not parameterized yet.
The next admitted state can only be PARAMETERIZED
.
Method Summary | |
---|---|
int |
getCurrentRun()
Tells which is the current run. |
java.lang.String |
getDefaultName()
Get the JTR-assigned unique name of the current runner. |
EnterpriseConfig |
getEnterprise()
Get the enterprise configuration associated with the current runner. |
int |
getEpoch()
Get the current jtr-test epoch. |
java.lang.String |
getFqn()
Obtains the runner FQN. |
int |
getInstanceCount()
Get the number of instances that must be active, according to the jtr.xml, during the test-suite. |
int |
getInstanceID()
Returns the associated instance ID. |
java.lang.String |
getName()
Get the logical name of the current runner. |
IOutcomeFactory |
getOutcomeFactory()
Get the factory in charge of instantiating IOutCome
instances. |
ParametersMap |
getParameters()
Get the paramters for the current runner. |
IParamsAssigner |
getParamsAssigner()
Get the assigner in charge of performing the parameters injection into the current runner. |
int |
getRuns()
Get the total number of runs this runner has to execute. |
long |
getSleepTime()
Get the sleep time value assigned to the current runner. |
IStatFunction |
getStatFunction(java.lang.String paramName)
Returns the reference to the IStatFunction implementation
associated with the parameter named paramName , if present,
otherwies null is returned. |
TestOutcomeTable |
getTestOutcomeTable()
Get the TestOutcomeTable instance where the runner logs
all the experienced error conditions. |
void |
setCurrentRun(int val)
Tells which is the current run. |
void |
setEnterprise(EnterpriseConfig enterprise)
Set the enterprise configuration associated with the current runner. |
void |
setEpoch(int epoch)
Set the current jtr-test epoch. |
void |
setFqn(java.lang.String name)
Assigns the runner its FQN. |
void |
setInstanceCount(int i)
Set the number of instances that must be active, according to the jtr.xml, during the test-suite. |
void |
setInstanceID(int id)
Associates the current runner with its instance ID. |
void |
setName(java.lang.String name)
Set the logical name of the current runner. |
void |
setOutcomeFactory(IOutcomeFactory outcomeFactory)
Set the factory in charge of instantiating IOutCome
instances. |
void |
setParameters(ParametersMap params)
Set the paramters for the current runner. |
void |
setParamsAssigner(IParamsAssigner paramsAssigner)
Set the assigner in charge of performing the parameters injection into the current runner. |
void |
setRuns(int runs)
Set the total number of runs this runner has to execute. |
void |
setSleepTime(long sleepTime)
Set the sleep time value assigned to the current runner. |
void |
setStatFunction(java.lang.String paramName,
IStatFunction f)
Sets the reference to the IStatFunction implementation
associated with the parameter named paramName . |
void |
setTestCompletionListener(ITestCompletionListener testComplLsnr)
This method assigns an ITestCompletionListener instance
to a runner in CLEAN state. |
void |
setTestOutcomeTable(TestOutcomeTable testOutcomeTable)
Set the TestOutcomeTable instance where the runner logs
all the experienced error conditions. |
Method Detail |
---|
IStatFunction getStatFunction(java.lang.String paramName)
IStatFunction
implementation
associated with the parameter named paramName
, if present,
otherwies null
is returned.
paramName
-
void setFqn(java.lang.String name)
name
- The FQNjava.lang.String getFqn()
void setName(java.lang.String name)
name
- Stringjava.lang.String getName()
java.lang.String getDefaultName()
EnterpriseConfig getEnterprise()
void setEnterprise(EnterpriseConfig enterprise)
enterprise
- EnterpriseConfigint getRuns()
void setRuns(int runs)
runs
- intlong getSleepTime()
void setSleepTime(long sleepTime)
sleepTime
- longvoid setParameters(ParametersMap params)
params
- ParametersMap getParameters()
IParamsAssigner getParamsAssigner()
void setParamsAssigner(IParamsAssigner paramsAssigner)
paramsAssigner
- IParamsAssignerTestOutcomeTable getTestOutcomeTable()
TestOutcomeTable
instance where the runner logs
all the experienced error conditions.
void setStatFunction(java.lang.String paramName, IStatFunction f)
IStatFunction
implementation
associated with the parameter named paramName
.
paramName
- f
- void setTestOutcomeTable(TestOutcomeTable testOutcomeTable)
TestOutcomeTable
instance where the runner logs
all the experienced error conditions.
testOutcomeTable
- TestOutcomeTableIOutcomeFactory getOutcomeFactory()
IOutCome
instances.
void setOutcomeFactory(IOutcomeFactory outcomeFactory)
IOutCome
instances.
outcomeFactory
- IOutcomeFactoryvoid setInstanceCount(int i)
i
- The number of instancesint getInstanceCount()
void setInstanceID(int id)
id
- The IDint getInstanceID()
void setCurrentRun(int val)
val
- The current runint getCurrentRun()
int getEpoch()
void setEpoch(int epoch)
epoch
- intvoid setTestCompletionListener(ITestCompletionListener testComplLsnr)
ITestCompletionListener
instance
to a runner in CLEAN
state. This assignment can be performed
for just one time in a JTR test-session for each runner instance.null
for runner instances started on JTR passive-nodes.
testComplLsnr
- The listener instance
|
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 |