java.lang.Object
com.parasoft.findings.jenkins.coverage.api.metrics.model.CoverageStatistics

public class CoverageStatistics extends Object
Represents the different mappings of coverage metric and baseline to actual values.
  • Constructor Details

  • Method Details

    • getValue

      public Optional<Value> getValue(Baseline baseline, Metric metric)
      Returns the value for the specified baseline and metric.
      Parameters:
      baseline - the baseline of the value
      metric - the metric of the value
      Returns:
      the value, if available
    • containsValue

      public boolean containsValue(Baseline baseline, Metric metric)
      Returns whether a value for the specified metric and baseline is available.
      Parameters:
      baseline - the baseline of the value
      metric - the metric of the value
      Returns:
      true, if a value is available, false otherwise