Klasse CompositeBuildResult

java.lang.Object
io.jenkins.plugins.analysis.core.charts.CompositeBuildResult
Alle implementierten Schnittstellen:
AnalysisBuildResult

public class CompositeBuildResult extends Object implements AnalysisBuildResult
A build result that is composed of a series of other builds results simply by summing up the number of issues.
Autor:
Ullrich Hafner
  • Konstruktordetails

    • CompositeBuildResult

      public CompositeBuildResult()
  • Methodendetails

    • add

      public CompositeBuildResult add(AnalysisBuildResult... additionalResults)
      Adds the specified results to this composition. Adds the new value of each property to the existing value of the same property.
      Parameter:
      additionalResults - the additional results to add
      Gibt zurück:
      returns this to simplify call chains
    • getSizePerOrigin

      public Map<String,Integer> getSizePerOrigin()
      Beschreibung aus Schnittstelle kopiert: AnalysisBuildResult
      Returns the number of issues in this analysis run, mapped by their origin. The origin is the tool that created the report.
      Angegeben von:
      getSizePerOrigin in Schnittstelle AnalysisBuildResult
      Gibt zurück:
      number of issues per origin
    • getFixedSize

      public int getFixedSize()
      Beschreibung aus Schnittstelle kopiert: AnalysisBuildResult
      Returns the number of fixed issues in this analysis run.
      Angegeben von:
      getFixedSize in Schnittstelle AnalysisBuildResult
      Gibt zurück:
      number of fixed issues
    • getTotalSize

      public int getTotalSize()
      Beschreibung aus Schnittstelle kopiert: AnalysisBuildResult
      Returns the total number of issues in this analysis run.
      Angegeben von:
      getTotalSize in Schnittstelle AnalysisBuildResult
      Gibt zurück:
      total number of issues
    • getTotalSizeOf

      public int getTotalSizeOf(edu.hm.hafner.analysis.Severity severity)
      Beschreibung aus Schnittstelle kopiert: AnalysisBuildResult
      Returns the total number of issues in this analysis run that have the specified Severity.
      Angegeben von:
      getTotalSizeOf in Schnittstelle AnalysisBuildResult
      Parameter:
      severity - the severity of the issues to match
      Gibt zurück:
      total number of issues
    • getNewSize

      public int getNewSize()
      Beschreibung aus Schnittstelle kopiert: AnalysisBuildResult
      Returns the number of new issues in this analysis run.
      Angegeben von:
      getNewSize in Schnittstelle AnalysisBuildResult
      Gibt zurück:
      number of new issues
    • getNewSizeOf

      public int getNewSizeOf(edu.hm.hafner.analysis.Severity severity)
      Beschreibung aus Schnittstelle kopiert: AnalysisBuildResult
      Returns the new number of issues in this analysis run that have the specified Severity.
      Angegeben von:
      getNewSizeOf in Schnittstelle AnalysisBuildResult
      Parameter:
      severity - the severity of the issues to match
      Gibt zurück:
      total number of issues