Class DslScopedTestElement.ScopedTestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement>
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.codegeneration.MethodCallBuilder
-
- us.abstracta.jmeter.javadsl.codegeneration.SingleTestElementCallBuilder<T>
-
- us.abstracta.jmeter.javadsl.core.testelements.DslScopedTestElement.ScopedTestElementCallBuilder<T>
-
- Type Parameters:
T- is the type of test element class that is used to identify when this call builder should apply.
- Direct Known Subclasses:
DslBoundaryExtractor.CodeBuilder,DslRegexExtractor.CodeBuilder,DslResponseAssertion.CodeBuilder
- Enclosing class:
- DslScopedTestElement<T extends DslScopedTestElement<T>>
protected abstract static class DslScopedTestElement.ScopedTestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement> extends SingleTestElementCallBuilder<T>
Abstracts common logic forDslScopedTestElementmethod call builders.- Since:
- 0.62
-
-
Field Summary
-
Fields inherited from class us.abstracta.jmeter.javadsl.codegeneration.SingleTestElementCallBuilder
testElementClass
-
Fields inherited from class us.abstracta.jmeter.javadsl.codegeneration.MethodCallBuilder
builderMethods
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected MethodCallbuildMethodCall(T testElement, MethodCallContext context)Builds aMethodCallfor the given test element.protected abstract MethodCallbuildScopedMethodCall(T testElement)protected abstract voidchainScopedElementAdditionalOptions(MethodCall ret, T testElement)static voidchainScopeTo(MethodCall ret, org.apache.jmeter.testelement.TestElement testElement, String scopePrefix)-
Methods inherited from class us.abstracta.jmeter.javadsl.codegeneration.SingleTestElementCallBuilder
buildMethodCall, matches
-
Methods inherited from class us.abstracta.jmeter.javadsl.codegeneration.MethodCallBuilder
buildMethodCall, getBuilderOptionName, order, propertyIterator2Stream
-
-
-
-
Method Detail
-
buildMethodCall
protected MethodCall buildMethodCall(T testElement, MethodCallContext context)
Description copied from class:SingleTestElementCallBuilderBuilds aMethodCallfor 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.
- Specified by:
buildMethodCallin classSingleTestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement>- Parameters:
testElement- is the test element instance to build the MethodCall for.context- is the context of the method call.- Returns:
- the generated MethodCall instance.
-
chainScopeTo
public static void chainScopeTo(MethodCall ret, org.apache.jmeter.testelement.TestElement testElement, String scopePrefix)
-
buildScopedMethodCall
protected abstract MethodCall buildScopedMethodCall(T testElement)
-
chainScopedElementAdditionalOptions
protected abstract void chainScopedElementAdditionalOptions(MethodCall ret, T testElement)
-
-