Interface StaticAnalysisRun

All Superinterfaces:
AnalysisBuildResult
All Known Implementing Classes:
AnalysisResult

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

    • getId

      String getId()
      Returns the ID of the static analysis result.
      Returns:
      the ID
    • getOwner

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

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

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

      int getSuccessfulSinceBuild()
      Returns the build number since the associated job has a successful static analysis result.
      Returns:
      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.
      Returns:
      the quality gate status
    • getQualityGateResult

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

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

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