Class Condition
java.lang.Object
org.jenkinsci.plugins.codesonar.conditions.Condition
- All Implemented Interfaces:
ExtensionPoint
,Describable<Condition>
- Direct Known Subclasses:
NewWarningsIncreasedByPercentageCondition
,ProcedureCyclomaticComplexityExceededCondition
,RedAlertLimitCondition
,WarningCountAbsoluteSpecifiedScoreAndHigherCondition
,WarningCountIncreaseOverallCondition
,WarningCountIncreaseSpecifiedScoreAndHigherCondition
,YellowAlertLimitCondition
- Author:
- andrius
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAll()
protected void
registerResult
(CodeSonarLogger logger, String message, Object... args) abstract Result
validate
(CodeSonarHubAnalysisDataLoader current, CodeSonarHubAnalysisDataLoader previous, Launcher launcher, TaskListener listener, CodeSonarLogger logger)
-
Field Details
-
CURRENT_BUILD_DATA_NOT_AVAILABLE
- See Also:
-
PREVIOUS_BUILD_DATA_NOT_AVAILABLE
- See Also:
-
DATA_LOADER_EMPTY_RESPONSE
- See Also:
-
-
Constructor Details
-
Condition
public Condition()
-
-
Method Details
-
validate
public abstract Result validate(CodeSonarHubAnalysisDataLoader current, CodeSonarHubAnalysisDataLoader previous, Launcher launcher, TaskListener listener, CodeSonarLogger logger) throws CodeSonarPluginException - Throws:
CodeSonarPluginException
-
getDescriptor
- Specified by:
getDescriptor
in interfaceDescribable<Condition>
-
getAll
-
describeResult
-
registerResult
-