Interface ModelValidator
- All Known Implementing Classes:
AbstractModelValidator
public interface ModelValidator
A visitor interface that can be used to traverse the AST of a Declarative Pipeline.
Warning: Do not implement this interface directly in non-Declarative plugins, because this interface is unstable and
may receive backwards-incompatible changes. Instead, use
AbstractModelValidator
, which will retain backwards
compatibility.-
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 stages) 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)
-
Method Details
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-
validateElement
-