Klasse CoverageApi

java.lang.Object
io.jenkins.plugins.coverage.metrics.restapi.CoverageApi

@ExportedBean public class CoverageApi extends Object
Remote API to list the details of the coverage results.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • CoverageApi

      public CoverageApi(CoverageStatistics statistics, io.jenkins.plugins.util.QualityGateResult qualityGateResult, String referenceBuild)
      Creates a new instance of CoverageApi.
      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

      @Exported public String getReferenceBuild()
    • getProjectStatistics

      @Exported(inline=true) public NavigableMap<String,String> 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

      @Exported(inline=true) public NavigableMap<String,String> 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

      @Exported(inline=true) public NavigableMap<String,String> 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

      @Exported(inline=true) public NavigableMap<String,String> 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

      @Exported(inline=true) public NavigableMap<String,String> 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

      @Exported(inline=true) public NavigableMap<String,String> 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)