Class DslScopedTestElement.ScopedTestElementCallBuilder<T extends org.apache.jmeter.testelement.TestElement>

    • Constructor Detail

      • ScopedTestElementCallBuilder

        protected ScopedTestElementCallBuilder​(Class<T> testElementClass,
                                               List<Method> builderMethods)
      • ScopedTestElementCallBuilder

        protected ScopedTestElementCallBuilder​(String scopePrefix,
                                               Class<T> testElementClass,
                                               List<Method> builderMethods)
    • Method Detail

      • buildMethodCall

        protected MethodCall buildMethodCall​(T testElement,
                                             MethodCallContext context)
        Description copied from class: SingleTestElementCallBuilder
        Builds a 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.

        Specified by:
        buildMethodCall in class SingleTestElementCallBuilder<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)