C - is type of test elements that can be nested by this class.
Check DslTestPlan for an example.
public abstract class TestElementContainer<T extends TestElementContainer<T,C>,C extends DslTestElement> extends BaseTestElement
DslTestElement that can nest other test elements.| Modifier and Type | Field and Description |
|---|---|
protected List<C> |
children |
guiClass, name| Modifier | Constructor and Description |
|---|---|
protected |
TestElementContainer(String name,
Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass,
List<C> children) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.jorphan.collections.HashTree |
buildTreeUnder(org.apache.jorphan.collections.HashTree parent,
BuildTreeContext context)
Builds the JMeter HashTree for this TestElement under the provided tree node.
|
protected T |
children(C... children) |
buildConfiguredTestElement, buildTestElement, buildTestElementGui, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGuiprotected final List<C extends DslTestElement> children
public org.apache.jorphan.collections.HashTree buildTreeUnder(org.apache.jorphan.collections.HashTree parent,
BuildTreeContext context)
DslTestElementbuildTreeUnder in interface DslTestElementbuildTreeUnder in class BaseTestElementparent - the node which will be the parent for the created tree.context - context information which contains information shared by elements while building
the test plan tree (eg: adding additional items to test plan when a particular protocol element
is added).Copyright © 2024. All rights reserved.