1 package com.griddynamics.jagger.user.test.configurations.limits;
3 import com.griddynamics.jagger.user.test.configurations.limits.auxiliary.JMetricName;
4 import com.griddynamics.jagger.user.test.configurations.limits.auxiliary.RefValue;
5 import com.griddynamics.jagger.util.StandardMetricsNamesUtil;
7 import java.util.Objects;
14 private Double refValue;
19 this.refValue = builder.refValue.value();
30 return new Builder(metricId, refValue);
44 return new Builder(StandardMetricsNamesUtil.generateScenarioStepMetricRegexp(scenarioId, stepId, metricId), refValue);
69 return new Builder(StandardMetricsNamesUtil.generateScenarioStepMetricRegexp(scenarioId, stepId, metricId.
transformToString()), refValue);
76 Objects.requireNonNull(metricId);
77 Objects.requireNonNull(refValue);
79 this.metricId = metricId;
80 this.refValue = refValue;