Klasse CoverageStatistics
java.lang.Object
io.jenkins.plugins.coverage.metrics.model.CoverageStatistics
Represents the different mappings of coverage metric and baseline to actual values.
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungCoverageStatistics
(List<? extends edu.hm.hafner.coverage.Value> projectValueMapping, NavigableMap<edu.hm.hafner.coverage.Metric, org.apache.commons.lang3.math.Fraction> projectDeltaMapping, List<? extends edu.hm.hafner.coverage.Value> modifiedLinesValueMapping, NavigableMap<edu.hm.hafner.coverage.Metric, org.apache.commons.lang3.math.Fraction> modifiedLinesDeltaMapping, List<? extends edu.hm.hafner.coverage.Value> modifiedFilesValueMapping, NavigableMap<edu.hm.hafner.coverage.Metric, org.apache.commons.lang3.math.Fraction> modifiedFilesDeltaMapping) Creates a new instance ofCoverageStatistics
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
containsValue
(Baseline baseline, edu.hm.hafner.coverage.Metric metric) Returns whether a value for the specified metric and baseline is available.Optional
<edu.hm.hafner.coverage.Value> Returns the value for the specified baseline and metric.
-
Konstruktordetails
-
Methodendetails
-
getValue
-
containsValue
Returns whether a value for the specified metric and baseline is available.- Parameter:
baseline
- the baseline of the valuemetric
- the metric of the value- Gibt zurück:
true
, if a value is available,false
otherwise
-