Klasse CoverageApi
java.lang.Object
io.jenkins.plugins.coverage.metrics.restapi.CoverageApi
Remote API to list the details of the coverage results.
- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
KonstruktorBeschreibungCoverageApi
(CoverageStatistics statistics, io.jenkins.plugins.util.QualityGateResult qualityGateResult, String referenceBuild) Creates a new instance ofCoverageApi
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the delta values for the modified files coverage.Returns the statistics for the coverage of modified files.Returns the delta values for the modified lines coverage.Returns the statistics for the coverage of modified lines.Returns the delta values for the project coverage.Returns the statistics for the project coverage.io.jenkins.plugins.util.QualityGateResult.QualityGateResultApi
-
Konstruktordetails
-
CoverageApi
public CoverageApi(CoverageStatistics statistics, io.jenkins.plugins.util.QualityGateResult qualityGateResult, String referenceBuild) Creates a new instance ofCoverageApi
.- Parameter:
statistics
- the coverage statistics of the build.qualityGateResult
- the quality gate result of the build.referenceBuild
- the build referenced for comparison purposes.
-
-
Methodendetails
-
getQualityGates
@Exported(inline=true) public io.jenkins.plugins.util.QualityGateResult.QualityGateResultApi getQualityGates() -
getReferenceBuild
-
getProjectStatistics
Returns the statistics for the project coverage.- Gibt zurück:
- a mapping of metrics to their values (only metrics with a value are included)
-
getProjectDelta
Returns the delta values for the project coverage.- Gibt zurück:
- a mapping of metrics to their values (only metrics with a value are included)
-
getModifiedFilesStatistics
Returns the statistics for the coverage of modified files.- Gibt zurück:
- a mapping of metrics to their values (only metrics with a value are included)
-
getModifiedFilesDelta
Returns the delta values for the modified files coverage.- Gibt zurück:
- a mapping of metrics to their delta values (only metrics with a value are included)
-
getModifiedLinesStatistics
Returns the statistics for the coverage of modified lines.- Gibt zurück:
- a mapping of metrics to their values (only metrics with a value are included)
-
getModifiedLinesDelta
Returns the delta values for the modified lines coverage.- Gibt zurück:
- a mapping of metrics to their delta values (only metrics with a value are included)
-