Class YellowAlertLimitCondition
- java.lang.Object
-
- org.jenkinsci.plugins.codesonar.conditions.Condition
-
- org.jenkinsci.plugins.codesonar.conditions.YellowAlertLimitCondition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
YellowAlertLimitCondition.DescriptorImpl
-
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 Constructor Description YellowAlertLimitCondition(int alertLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAlertLimit()
String
getWarrantedResult()
void
setAlertLimit(int alertLimit)
void
setWarrantedResult(String warrantedResult)
hudson.model.Result
validate(CodeSonarHubAnalysisDataLoader current, CodeSonarHubAnalysisDataLoader previous, hudson.Launcher launcher, hudson.model.TaskListener listener, CodeSonarLogger csLogger)
-
Methods inherited from class org.jenkinsci.plugins.codesonar.conditions.Condition
describeResult, getAll, getDescriptor, registerResult
-
-
-
-
Method Detail
-
getAlertLimit
public int getAlertLimit()
-
setAlertLimit
@DataBoundSetter public void setAlertLimit(int alertLimit)
-
getWarrantedResult
public String getWarrantedResult()
-
setWarrantedResult
@DataBoundSetter public void setWarrantedResult(String warrantedResult)
-
validate
public hudson.model.Result validate(CodeSonarHubAnalysisDataLoader current, CodeSonarHubAnalysisDataLoader previous, hudson.Launcher launcher, hudson.model.TaskListener listener, CodeSonarLogger csLogger) throws CodeSonarPluginException
- Specified by:
validate
in classCondition
- Throws:
CodeSonarPluginException
-
-