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 Detail

      • forMetric

        NewMeasure<G> forMetric​(Metric<G> metric)
        Set the metric this measure belong to. To find a metric based on its key you can use MetricFinder.
      • 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.