public static class JtlWriter.CodeBuilder extends SingleTestElementCallBuilder<org.apache.jmeter.reporters.ResultCollector>
testElementClassbuilderMethods| Constructor and Description |
|---|
CodeBuilder(List<Method> builderMethods) |
| Modifier and Type | Method and Description |
|---|---|
protected MethodCall |
buildMethodCall(org.apache.jmeter.reporters.ResultCollector collector,
MethodCallContext context)
Builds a
MethodCall for the given test element. |
boolean |
matches(MethodCallContext context)
Allows checking if this builder can build method calls for the given context.
|
buildMethodCallbuildMethodCall, getBuilderOptionName, order, propertyIterator2Streampublic boolean matches(MethodCallContext context)
MethodCallBuilderThis method is invoked in every registered MethodCallBuilder, until one is found that matches.
matches in class SingleTestElementCallBuilder<org.apache.jmeter.reporters.ResultCollector>context - 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.protected MethodCall buildMethodCall(org.apache.jmeter.reporters.ResultCollector collector, MethodCallContext context)
SingleTestElementCallBuilderMethodCall 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<org.apache.jmeter.reporters.ResultCollector>collector - is the test element instance to build the MethodCall for.context - is the context of the method call.Copyright © 2024. All rights reserved.