Klasse DeltaReport

java.lang.Object
io.jenkins.plugins.analysis.core.model.DeltaReport

public class DeltaReport extends Object
Provides the delta between the reports of two different builds.
Autor:
Ullrich Hafner
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    DeltaReport(edu.hm.hafner.analysis.Report report, int currentBuildNumber)
    Creates a new DeltaReport.
    DeltaReport(edu.hm.hafner.analysis.Report report, Run<?,?> referenceBuild, int currentBuildNumber, edu.hm.hafner.analysis.Report referenceIssues)
    Creates a new instance of DeltaReport.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    edu.hm.hafner.analysis.Report
    Returns all issues of the current build.
    edu.hm.hafner.analysis.Report
    Returns all fixed issues: i.e., all issues, that are part of the reference report but are not present in the current report anymore.
    edu.hm.hafner.analysis.Report
    Returns all new issues: i.e., all issues, that are part of the current report but have not been shown up in the reference report.
    edu.hm.hafner.analysis.Report
    Returns all outstanding issues: i.e., all issues, that are part of the current and reference report.
    Returns the ID of the reference build.
    Returns statistics for the number of issues (total, new, delta).
    boolean
    Returns whether this report contains issues or not.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • DeltaReport

      public DeltaReport(edu.hm.hafner.analysis.Report report, int currentBuildNumber)
      Creates a new DeltaReport. Since no reference build is available, all issues are considered outstanding.
      Parameter:
      report - the current report
      currentBuildNumber - the number of the current build, the reference of all new warnings will be set to this number
    • DeltaReport

      public DeltaReport(edu.hm.hafner.analysis.Report report, Run<?,?> referenceBuild, int currentBuildNumber, edu.hm.hafner.analysis.Report referenceIssues)
      Creates a new instance of DeltaReport.
      Parameter:
      report - the current report
      referenceBuild - the reference build
      currentBuildNumber - the number of the current build, the reference of all new warnings will be set to this number
      referenceIssues - the issues in the reference build
  • Methodendetails

    • isEmpty

      public boolean isEmpty()
      Returns whether this report contains issues or not.
      Gibt zurück:
      true if the report is empty, false otherwise
    • getReferenceBuildId

      public String getReferenceBuildId()
      Returns the ID of the reference build.
      Gibt zurück:
      the reference build ID
    • getAllIssues

      public edu.hm.hafner.analysis.Report getAllIssues()
      Returns all issues of the current build.
      Gibt zurück:
      the issues of the current build.
    • getOutstandingIssues

      public edu.hm.hafner.analysis.Report getOutstandingIssues()
      Returns all outstanding issues: i.e., all issues, that are part of the current and reference report.
      Gibt zurück:
      the outstanding issues
    • getNewIssues

      public edu.hm.hafner.analysis.Report getNewIssues()
      Returns all new issues: i.e., all issues, that are part of the current report but have not been shown up in the reference report.
      Gibt zurück:
      the new issues
    • getFixedIssues

      public edu.hm.hafner.analysis.Report getFixedIssues()
      Returns all fixed issues: i.e., all issues, that are part of the reference report but are not present in the current report anymore.
      Gibt zurück:
      the fixed issues
    • getStatistics

      public IssuesStatistics getStatistics()
      Returns statistics for the number of issues (total, new, delta).
      Gibt zurück:
      the issues statistics