Class AbstractModelValidator
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.validator.AbstractModelValidator
- All Implemented Interfaces:
ModelValidator
Abstract implementation of
ModelValidator
.
Use this class as a generic AST visitor instead of ModelValidator
to prevent binary compatibility issues
in cases where it is fine to ignore any AST elements that were added to Declarative after you extended this class.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validateElement
(ModelASTAgent agent) boolean
validateElement
(ModelASTAxis axis) boolean
boolean
validateElement
(ModelASTBranch branch) boolean
validateElement
(ModelASTBuildCondition buildCondition) boolean
validateElement
(ModelASTBuildConditionsContainer container) boolean
validateElement
(ModelASTBuildParameter buildParameter) boolean
validateElement
(ModelASTBuildParameters buildParameters) boolean
validateElement
(ModelASTEnvironment environment) boolean
validateElement
(ModelASTExclude exclude) boolean
boolean
validateElement
(ModelASTExcludes excludes) boolean
boolean
validateElement
(ModelASTLibraries libraries) boolean
validateElement
(ModelASTMatrix matrix) boolean
validateElement
(ModelASTMethodCall methodCall) boolean
validateElement
(ModelASTOption jobProperty) boolean
validateElement
(ModelASTOptions properties) boolean
validateElement
(ModelASTParallel parallel) boolean
validateElement
(ModelASTPipelineDef pipelineDef) boolean
validateElement
(ModelASTPostBuild postBuild) boolean
boolean
validateElement
(ModelASTStageBase stage) boolean
boolean
validateElement
(ModelASTStage stage, boolean isWithinParallel) boolean
validateElement
(ModelASTStages stages) boolean
validateElement
(ModelASTStep step) boolean
validateElement
(ModelASTTools tools) boolean
validateElement
(ModelASTTrigger trigger) boolean
validateElement
(ModelASTTriggers triggers) boolean
validateElement
(ModelASTValue value) boolean
validateElement
(ModelASTWhen when) boolean
validateElement
(ModelASTWhenCondition condition)
-
Constructor Details
-
AbstractModelValidator
public AbstractModelValidator()
-
-
Method Details
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-
validateElement
- Specified by:
validateElement
in interfaceModelValidator
-