|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jmeter.threads.TestCompiler
public class TestCompiler
HashTreeTraverser implementation that traverses the Test Tree to build:
Field Summary | |
---|---|
static boolean |
IS_USE_STATIC_SET
|
Constructor Summary | |
---|---|
TestCompiler(HashTree testTree)
|
Method Summary | |
---|---|
void |
addNode(Object node,
HashTree subTree)
The tree traverses itself depth-first, calling addNode for each object it encounters as it goes. |
SamplePackage |
configureSampler(Sampler sampler)
Configures sampler from SamplePackage extracted from Test plan and returns it |
SamplePackage |
configureTransactionSampler(TransactionSampler transactionSampler)
Configures Transaction Sampler from SamplePackage extracted from Test plan and returns it |
void |
done(SamplePackage pack)
Reset pack to its initial state |
static void |
initialize()
Clears the pairing Set Called by StandardJmeterEngine at the start of a test run. |
void |
processPath()
Process path is called when a leaf is reached. |
void |
subtractNode()
Indicates traversal has moved up a step, and the visitor should remove the top node from its stack structure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean IS_USE_STATIC_SET
Constructor Detail |
---|
public TestCompiler(HashTree testTree)
Method Detail |
---|
public static void initialize()
public SamplePackage configureSampler(Sampler sampler)
sampler
- Sampler
SamplePackage
public SamplePackage configureTransactionSampler(TransactionSampler transactionSampler)
transactionSampler
- TransactionSampler
SamplePackage
public void done(SamplePackage pack)
pack
- public void addNode(Object node, HashTree subTree)
addNode
in interface HashTreeTraverser
node
- the node currently encounteredsubTree
- the HashTree under the node encounteredpublic void subtractNode()
subtractNode
in interface HashTreeTraverser
public void processPath()
HashTreeTraverser.subtractNode()
call. This is a callback method, and should
not be called except by a HashTree during traversal.
processPath
in interface HashTreeTraverser
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |