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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.collections.api.list.ImmutableList<String>
getErrorMessages()
Returns the error messages of the analysis run.String
getId()
Returns the ID of the static analysis result.org.eclipse.collections.api.list.ImmutableList<String>
getInfoMessages()
Returns the info messages of the analysis run.int
getNoIssuesSinceBuild()
Returns the build number since the associated job has no issues.Run<?,?>
getOwner()
Returns the run that created this static analysis result.QualityGateStatus
getQualityGateStatus()
Returns theQualityGateStatus
of theQualityGateEvaluator
evaluation of the static analysis run.Optional<Run<?,?>>
getReferenceBuild()
Returns the reference static analysis run that has been used to compute the new issues.int
getSuccessfulSinceBuild()
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, getTotalSize, getTotalSizeOf
-
-
-
-
Method Detail
-
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
QualityGateStatus getQualityGateStatus()
Returns theQualityGateStatus
of theQualityGateEvaluator
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
-
-