T
- is the type of test element class that is used to identify when this call builder
should apply.protected abstract static class DslScopedTestElement.ScopedTestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement> extends SingleTestElementCallBuilder<T>
DslScopedTestElement
method call
builders.testElementClass
builderMethods
Modifier | Constructor and Description |
---|---|
protected |
ScopedTestElementCallBuilder(Class<T> testElementClass,
List<Method> builderMethods) |
protected |
ScopedTestElementCallBuilder(String scopePrefix,
Class<T> testElementClass,
List<Method> builderMethods) |
Modifier and Type | Method and Description |
---|---|
protected MethodCall |
buildMethodCall(T testElement,
MethodCallContext context)
Builds a
MethodCall for the given test element. |
protected abstract MethodCall |
buildScopedMethodCall(T testElement) |
protected abstract void |
chainScopedElementAdditionalOptions(MethodCall ret,
T testElement) |
static void |
chainScopeTo(MethodCall ret,
org.apache.jmeter.testelement.TestElement testElement,
String scopePrefix) |
buildMethodCall, matches
buildMethodCall, getBuilderOptionName, order, propertyIterator2Stream
protected ScopedTestElementCallBuilder(Class<T> testElementClass, List<Method> builderMethods)
protected MethodCall buildMethodCall(T testElement, MethodCallContext context)
SingleTestElementCallBuilder
MethodCall
for the given test element.
When this method is invoked, the test element has already been checked to be of the proper type, so no further checking in that regard should be needed.
buildMethodCall
in class SingleTestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement>
testElement
- is the test element instance to build the MethodCall for.context
- is the context of the method call.public static void chainScopeTo(MethodCall ret, org.apache.jmeter.testelement.TestElement testElement, String scopePrefix)
protected abstract MethodCall buildScopedMethodCall(T testElement)
protected abstract void chainScopedElementAdditionalOptions(MethodCall ret, T testElement)
Copyright © 2024. All rights reserved.