public class SamplePackage extends Object
Constructor and Description |
---|
SamplePackage(List<ConfigTestElement> configs,
List<SampleListener> listeners,
List<Timer> timers,
List<Assertion> assertions,
List<PostProcessor> postProcessors,
List<PreProcessor> preProcessors,
List<Controller> controllers) |
Modifier and Type | Method and Description |
---|---|
void |
addAssertion(Assertion asser)
Add Assertion
|
void |
addPostProcessor(PostProcessor ex)
Add Post processor
|
void |
addPreProcessor(PreProcessor pre)
Add Pre processor
|
void |
addSampleListener(SampleListener listener)
Add Sample Listener
|
void |
addTimer(Timer timer)
Add Timer
|
List<Assertion> |
getAssertions() |
List<ConfigTestElement> |
getConfigs()
Returns the configs.
|
List<PostProcessor> |
getPostProcessors() |
List<PreProcessor> |
getPreProcessors()
Returns the preProcessors.
|
List<SampleListener> |
getSampleListeners() |
Sampler |
getSampler() |
List<Timer> |
getTimers() |
void |
recoverRunningVersion()
Recover each member of SamplePackage to the state before the call of setRunningVersion(true)
|
void |
setRunningVersion(boolean running)
Make the SamplePackage the running version, or make it no longer the
running version.
|
void |
setSampler(Sampler s) |
public SamplePackage(List<ConfigTestElement> configs, List<SampleListener> listeners, List<Timer> timers, List<Assertion> assertions, List<PostProcessor> postProcessors, List<PreProcessor> preProcessors, List<Controller> controllers)
public void setRunningVersion(boolean running)
running
- booleanTestElement.setRunningVersion(boolean)
public void recoverRunningVersion()
TestElement.recoverRunningVersion()
public List<SampleListener> getSampleListeners()
SampleListener
spublic void addSampleListener(SampleListener listener)
listener
- SampleListener
public void addPostProcessor(PostProcessor ex)
ex
- PostProcessor
public void addPreProcessor(PreProcessor pre)
pre
- PreProcessor
public List<PostProcessor> getPostProcessors()
PostProcessor
spublic List<PreProcessor> getPreProcessors()
PreProcessor
public List<ConfigTestElement> getConfigs()
ConfigTestElement
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.