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 voidregisterResult(CodeSonarLogger logger, String message, Object... args) abstract Resultvalidate(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:
getDescriptorin interfaceDescribable<Condition>
-
getAll
-
describeResult
-
registerResult
-