us.abstracta.jmeter.javadsl.codegeneration.params.FloatParam Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmeter-java-dsl Show documentation
Show all versions of jmeter-java-dsl Show documentation
Simple API to run JMeter performance tests in an VCS and programmers friendly way.
package us.abstracta.jmeter.javadsl.codegeneration.params;
/**
* Is a parameter with a float value.
*
* @since 0.63
*/
public class FloatParam extends FixedParam {
public FloatParam(String expression, Float defaultValue) {
super(float.class, expression, Float::valueOf, defaultValue);
}
@Override
public String buildCode(String indent) {
return super.buildCode(indent) + "f";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy