Class WarningCountIncreaseSpecifiedScoreAndHigherCondition
- java.lang.Object
-
- org.jenkinsci.plugins.codesonar.conditions.Condition
-
- org.jenkinsci.plugins.codesonar.conditions.WarningCountIncreaseSpecifiedScoreAndHigherCondition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WarningCountIncreaseSpecifiedScoreAndHigherCondition.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 WarningCountIncreaseSpecifiedScoreAndHigherCondition(int rankOfWarnings, String warningPercentage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRankOfWarnings()
String
getWarningPercentage()
String
getWarrantedResult()
void
setRankOfWarnings(int rankOfWarnings)
void
setWarningPercentage(String warningPercentage)
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
-
-
-
-
Constructor Detail
-
WarningCountIncreaseSpecifiedScoreAndHigherCondition
@DataBoundConstructor public WarningCountIncreaseSpecifiedScoreAndHigherCondition(int rankOfWarnings, String warningPercentage)
-
-
Method Detail
-
getRankOfWarnings
public int getRankOfWarnings()
-
setRankOfWarnings
public void setRankOfWarnings(int rankOfWarnings)
-
getWarningPercentage
public String getWarningPercentage()
-
setWarningPercentage
public void setWarningPercentage(String warningPercentage)
-
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
-
-