Class DslWeightedSwitchController.CodeBuilder
- java.lang.Object
-
- us.abstracta.jmeter.javadsl.codegeneration.MethodCallBuilder
-
- us.abstracta.jmeter.javadsl.codegeneration.SingleTestElementCallBuilder<com.blazemeter.jmeter.control.WeightedSwitchController>
-
- us.abstracta.jmeter.javadsl.core.controllers.DslWeightedSwitchController.CodeBuilder
-
- Enclosing class:
- DslWeightedSwitchController
public static class DslWeightedSwitchController.CodeBuilder extends SingleTestElementCallBuilder<com.blazemeter.jmeter.control.WeightedSwitchController>
-
-
Field Summary
-
Fields inherited from class us.abstracta.jmeter.javadsl.codegeneration.SingleTestElementCallBuilder
testElementClass
-
Fields inherited from class us.abstracta.jmeter.javadsl.codegeneration.MethodCallBuilder
builderMethods
-
-
Constructor Summary
Constructors Constructor Description CodeBuilder(List<Method> builderMethods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MethodCallbuildMethodCall(com.blazemeter.jmeter.control.WeightedSwitchController testElement, MethodCallContext context)Builds aMethodCallfor the given test element.Map<String,Long>extractSamplersWeights(com.blazemeter.jmeter.control.WeightedSwitchController testElement)-
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(com.blazemeter.jmeter.control.WeightedSwitchController 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<com.blazemeter.jmeter.control.WeightedSwitchController>- 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.
-
-