Class NewWarningsIncreasedByPercentageCondition
- java.lang.Object
-
- org.jenkinsci.plugins.codesonar.conditions.Condition
-
- org.jenkinsci.plugins.codesonar.conditions.NewWarningsIncreasedByPercentageCondition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NewWarningsIncreasedByPercentageCondition.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 NewWarningsIncreasedByPercentageCondition(String percentage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPercentage()
String
getWarrantedResult()
void
setPercentage(String percentage)
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
-
NewWarningsIncreasedByPercentageCondition
@DataBoundConstructor public NewWarningsIncreasedByPercentageCondition(String percentage)
-
-
Method Detail
-
getPercentage
public String getPercentage()
- Returns:
- the percentage
-
setPercentage
@DataBoundSetter public void setPercentage(String percentage)
- Parameters:
percentage
- the percentage to set
-
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
-
-