Interface StaticAnalysisRun
- All Superinterfaces:
AnalysisBuildResult
- All Known Implementing Classes:
AnalysisResult
Provides detailed information for the results of a static analysis run.
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.collections.api.list.ImmutableList
<String> Returns the error messages of the analysis run.getId()
Returns the ID of the static analysis result.org.eclipse.collections.api.list.ImmutableList
<String> Returns the info messages of the analysis run.int
Returns the build number since the associated job has no issues.Run
<?, ?> getOwner()
Returns the run that created this static analysis result.io.jenkins.plugins.util.QualityGateResult
Returns theQualityGateResult
of the quality gates evaluation of the static analysis run.io.jenkins.plugins.util.QualityGateStatus
Returns theQualityGateStatus
of the quality gates evaluation of the static analysis run.Returns the reference static analysis run that has been used to compute the new issues.int
Returns the build number since the associated job has a successful static analysis result.Methods inherited from interface io.jenkins.plugins.analysis.core.util.AnalysisBuildResult
getFixedSize, getNewSize, getNewSizeOf, getSizePerOrigin, getTotals, getTotalSize, getTotalSizeOf
-
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 theQualityGateStatus
of the quality gates evaluation of the static analysis run.- Returns:
- the quality gate status
-
getQualityGateResult
io.jenkins.plugins.util.QualityGateResult getQualityGateResult()Returns theQualityGateResult
of the quality gates evaluation of the static analysis run.- Returns:
- the quality gate status
-
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
-