Class CoverageStatistics
java.lang.Object
com.parasoft.findings.jenkins.coverage.api.metrics.model.CoverageStatistics
Represents the different mappings of coverage metric and baseline to actual values.
- 
Constructor SummaryConstructorsConstructorDescriptionCoverageStatistics(List<? extends Value> projectValueMapping, List<? extends Value> modifiedLinesValueMapping) Creates a new instance ofCoverageStatistics.
- 
Method Summary
- 
Constructor Details- 
CoverageStatisticspublic CoverageStatistics(List<? extends Value> projectValueMapping, List<? extends Value> modifiedLinesValueMapping) Creates a new instance ofCoverageStatistics.- Parameters:
- projectValueMapping- mapping of metrics to values for- Baseline.PROJECT
- modifiedLinesValueMapping- mapping of metrics to values for- Baseline.MODIFIED_LINES
 
 
- 
- 
Method Details- 
getValueReturns 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
 
- 
containsValueReturns 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,- falseotherwise
 
 
-