Class BaseController<T extends BaseController<T>>
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
-
- us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer<T,BaseThreadGroup.ThreadGroupChild>
-
- us.abstracta.jmeter.javadsl.core.controllers.BaseController<T>
-
- All Implemented Interfaces:
DslController,DslTestElement,BaseThreadGroup.ThreadGroupChild
- Direct Known Subclasses:
DslForEachController,DslIfController,DslOnceOnlyController,DslRecordingController,DslRuntimeController,DslSimpleController,DslTestFragmentController,DslTransactionController,DslWeightedSwitchController,DslWhileController,ForLoopController,PercentController
public abstract class BaseController<T extends BaseController<T>> extends TestElementContainer<T,BaseThreadGroup.ThreadGroupChild> implements DslController
Contains common logic for logic controllers defined by the DSL.- Since:
- 0.25
-
-
Field Summary
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer
children
-
Fields inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
guiClass, name
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseController(String name, Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass, List<BaseThreadGroup.ThreadGroupChild> children)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tchildren(BaseThreadGroup.ThreadGroupChild... children)Allows specifying children elements that are affected by this controller.-
Methods inherited from class us.abstracta.jmeter.javadsl.core.testelements.TestElementContainer
buildTreeUnder
-
Methods inherited from class us.abstracta.jmeter.javadsl.core.testelements.BaseTestElement
buildConfiguredTestElement, buildTestElement, buildTestElementGui, configureTestElement, durationToSeconds, loadBeanProperties, showAndWaitFrameWith, showFrameWith, showInGui, showTestElementGui
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface us.abstracta.jmeter.javadsl.core.DslTestElement
buildTreeUnder, showInGui
-
-
-
-
Constructor Detail
-
BaseController
protected BaseController(String name, Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass, List<BaseThreadGroup.ThreadGroupChild> children)
-
-
Method Detail
-
children
public T children(BaseThreadGroup.ThreadGroupChild... children)
Allows specifying children elements that are affected by this controller.This method is helpful to keep general controller settings at the beginning and specify children at last.
- Overrides:
childrenin classTestElementContainer<T extends BaseController<T>,BaseThreadGroup.ThreadGroupChild>- Parameters:
children- set of elements to be included in the controller. This list is appended to any children defined in controller builder method.- Returns:
- a new controller instance for further configuration or usage.
- Since:
- 1.0
-
-