Interface NewMeasure<G extends java.io.Serializable>
-
public interface NewMeasure<G extends java.io.Serializable>
Builder to create new Measure. Should not be implemented by client.- Since:
- 5.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NewMeasure<G>
forMetric(Metric<G> metric)
Set the metric this measure belong to.NewMeasure<G>
on(InputComponent component)
TheInputComponent
the measure belongs to.void
save()
Save the measure.NewMeasure<G>
withValue(G value)
Value of the measure.
-
-
-
Method Detail
-
on
NewMeasure<G> on(InputComponent component)
TheInputComponent
the measure belongs to. Mandatory.
-
forMetric
NewMeasure<G> forMetric(Metric<G> metric)
Set the metric this measure belong to. To find a metric based on its key you can useMetricFinder
.
-
withValue
NewMeasure<G> withValue(G value)
Value of the measure.
-
save
void save()
Save the measure. It is not permitted so save several measures of the same metric on the same file/project.
-
-