Class WarningCountAbsoluteSpecifiedScoreAndHigherCondition
- java.lang.Object
-
- org.jenkinsci.plugins.codesonar.conditions.Condition
-
- org.jenkinsci.plugins.codesonar.conditions.WarningCountAbsoluteSpecifiedScoreAndHigherCondition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WarningCountAbsoluteSpecifiedScoreAndHigherCondition.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 WarningCountAbsoluteSpecifiedScoreAndHigherCondition(int rankOfWarnings, int warningCountThreshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRankOfWarnings()
int
getWarningCountThreshold()
String
getWarrantedResult()
void
setRankOfWarnings(int rankOfWarnings)
void
setWarningCountThreshold(int warningCountThreshold)
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
-
getRankOfWarnings
public int getRankOfWarnings()
-
setRankOfWarnings
public void setRankOfWarnings(int rankOfWarnings)
-
getWarningCountThreshold
public int getWarningCountThreshold()
-
setWarningCountThreshold
public void setWarningCountThreshold(int warningCountThreshold)
-
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
-
-