Class RedAlertLimitCondition
java.lang.Object
org.jenkinsci.plugins.codesonar.conditions.Condition
org.jenkinsci.plugins.codesonar.conditions.RedAlertLimitCondition
- All Implemented Interfaces:
ExtensionPoint
,Describable<Condition>
- Author:
- Andrius
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class org.jenkinsci.plugins.codesonar.conditions.Condition
CURRENT_BUILD_DATA_NOT_AVAILABLE, DATA_LOADER_EMPTY_RESPONSE, PREVIOUS_BUILD_DATA_NOT_AVAILABLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
void
setAlertLimit
(int alertLimit) void
setWarrantedResult
(String warrantedResult) validate
(CodeSonarHubAnalysisDataLoader current, CodeSonarHubAnalysisDataLoader previous, Launcher launcher, TaskListener listener, CodeSonarLogger csLogger) Methods inherited from class org.jenkinsci.plugins.codesonar.conditions.Condition
describeResult, getAll, getDescriptor, registerResult
-
Constructor Details
-
RedAlertLimitCondition
@DataBoundConstructor public RedAlertLimitCondition(int alertLimit)
-
-
Method Details
-
getAlertLimit
public int getAlertLimit() -
setAlertLimit
@DataBoundSetter public void setAlertLimit(int alertLimit) -
getWarrantedResult
-
setWarrantedResult
-
validate
public Result validate(CodeSonarHubAnalysisDataLoader current, CodeSonarHubAnalysisDataLoader previous, Launcher launcher, TaskListener listener, CodeSonarLogger csLogger) throws CodeSonarPluginException - Specified by:
validate
in classCondition
- Throws:
CodeSonarPluginException
-