io.hyperfoil.core.parser.ErgonomicsParser Maven / Gradle / Ivy
package io.hyperfoil.core.parser;
import io.hyperfoil.api.config.BenchmarkBuilder;
import io.hyperfoil.api.config.ErgonomicsBuilder;
class ErgonomicsParser extends AbstractParser {
ErgonomicsParser() {
register("repeatCookies", new PropertyParser.Boolean<>(ErgonomicsBuilder::repeatCookies));
}
@Override
public void parse(Context ctx, BenchmarkBuilder target) throws ParserException {
callSubBuilders(ctx, target.ergonomics());
}
}