Schnittstelle StaticAnalysisRun

Alle Superschnittstellen:
AnalysisBuildResult
Alle bekannten Implementierungsklassen:
AnalysisResult

public interface StaticAnalysisRun extends AnalysisBuildResult
Provides detailed information for the results of a static analysis run.
  • Methodendetails

    • getId

      String getId()
      Returns the ID of the static analysis result.
      Gibt zurück:
      the ID
    • getOwner

      Run<?,?> getOwner()
      Returns the run that created this static analysis result.
      Gibt zurück:
      the run
    • getErrorMessages

      org.eclipse.collections.api.list.ImmutableList<String> getErrorMessages()
      Returns the error messages of the analysis run.
      Gibt zurück:
      the error messages
    • getInfoMessages

      org.eclipse.collections.api.list.ImmutableList<String> getInfoMessages()
      Returns the info messages of the analysis run.
      Gibt zurück:
      the info messages
    • getSuccessfulSinceBuild

      int getSuccessfulSinceBuild()
      Returns the build number since the associated job has a successful static analysis result.
      Gibt zurück:
      the build number since the static analysis result is successful, or -1 if the result is not successful
    • getQualityGateStatus

      io.jenkins.plugins.util.QualityGateStatus getQualityGateStatus()
      Returns the QualityGateStatus of the quality gates evaluation of the static analysis run.
      Gibt zurück:
      the quality gate status
    • getQualityGateResult

      io.jenkins.plugins.util.QualityGateResult getQualityGateResult()
      Returns the QualityGateResult of the quality gates evaluation of the static analysis run.
      Gibt zurück:
      the quality gate status
    • getReferenceBuild

      Optional<Run<?,?>> getReferenceBuild()
      Returns the reference static analysis run that has been used to compute the new issues.
      Gibt zurück:
      the reference build
    • getNoIssuesSinceBuild

      int getNoIssuesSinceBuild()
      Returns the build number since the associated job has no issues.
      Gibt zurück:
      the build number since there are no issues, or -1 if issues have been reported