public abstract class SingleGuiClassCallBuilder extends MethodCallBuilder
In most of the cases a MethodCallBuilder can simply extend this or SingleTestElementCallBuilder class. Scenarios where these classes would not be used are complex
ones which cover several test elements. Eg:
DslDefaultThreadGroup
handles both JMeter default thread groups but also ultimate thread groups.
This class abstracts logic of checking if a test element MethodCall should be generated by this builder or not, just comparing if the test element associated JMeter GUI component is of the type associated to the MethodCallBuilder instance.
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> |
guiClass |
builderMethods| Modifier | Constructor and Description |
|---|---|
protected |
SingleGuiClassCallBuilder(Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass,
List<Method> builderMethods) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(MethodCallContext context)
Allows checking if this builder can build method calls for the given context.
|
buildMethodCall, buildMethodCall, getBuilderOptionName, order, propertyIterator2Streamprotected final Class<? extends org.apache.jmeter.gui.JMeterGUIComponent> guiClass
public boolean matches(MethodCallContext context)
MethodCallBuilderThis method is invoked in every registered MethodCallBuilder, until one is found that matches.
matches in class MethodCallBuildercontext - provides information used to determine if a method call might be created by this
builder. For example: JMeter test plan tree node test element, parent context, a
map of entries to host custom information, etc.Copyright © 2024. All rights reserved.