Package org.jenkinsci.plugins.codedx
Class AnalysisResultChecker
- java.lang.Object
-
- org.jenkinsci.plugins.codedx.AnalysisResultChecker
-
public class AnalysisResultChecker extends Object
Used to to determine if a build should be considered unstable or a failure, based on Code Dx analysis results.- Author:
- anthonyd
-
-
Constructor Summary
Constructors Constructor Description AnalysisResultChecker(CodeDxClient client, CodeDxVersion cdxVersion, String failureSeverity, String unstableSeverity, Date newThreshold, boolean failureOnlyNew, boolean unstableOnlyNew, BuildPolicyBehavior policyBehavior, ProjectContext project, PrintStream logger)
-
-
-
Constructor Detail
-
AnalysisResultChecker
public AnalysisResultChecker(CodeDxClient client, CodeDxVersion cdxVersion, String failureSeverity, String unstableSeverity, Date newThreshold, boolean failureOnlyNew, boolean unstableOnlyNew, BuildPolicyBehavior policyBehavior, ProjectContext project, PrintStream logger)
-
-
Method Detail
-
checkResult
public Result checkResult() throws org.apache.http.client.ClientProtocolException, CodeDxClientException, IOException
- Throws:
org.apache.http.client.ClientProtocolExceptionCodeDxClientExceptionIOException
-
-