Class AlwaysTrueValidator
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.parser.AlwaysTrueValidator
- All Implemented Interfaces:
org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
public class AlwaysTrueValidator
extends Object
implements org.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
ModelValidator
that will always return true for use in external model parsing.- Author:
- Andrew Bayer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAgent modelASTAgent) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAxis modelASTAxis) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAxisContainer modelASTAxisContainer) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBranch modelASTBranch) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition modelASTBuildCondition) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer modelASTBuildConditionsContainer) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameter modelASTBuildParameter) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameters modelASTBuildParameters) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironment modelASTEnvironment) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExclude modelASTExclude) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExcludeAxis modelASTExcludeAxis) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExcludes modelASTExcludes) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTInternalFunctionCall modelASTInternalFunctionCall) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTLibraries modelASTLibraries) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMatrix modelASTMatrix) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMethodCall modelASTMethodCall) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOption modelASTOption) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOptions modelASTOptions) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTParallel modelASTParallel) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef modelASTPipelineDef) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostBuild modelASTPostBuild) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostStage modelASTPostStage) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase modelASTStageBase) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageInput modelASTStageInput) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage modelASTStage, boolean b) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages modelASTStages) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep modelASTStep) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTools modelASTTools) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTrigger modelASTTrigger) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTriggers modelASTTriggers) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue modelASTValue) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen modelASTWhen) boolean
validateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhenCondition modelASTWhenCondition)
-
Constructor Details
-
AlwaysTrueValidator
public AlwaysTrueValidator()
-
-
Method Details
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAgent modelASTAgent) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBranch modelASTBranch) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildConditionsContainer modelASTBuildConditionsContainer) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostBuild modelASTPostBuild) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPostStage modelASTPostStage) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildCondition modelASTBuildCondition) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTEnvironment modelASTEnvironment) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTools modelASTTools) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStep modelASTStep) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhen modelASTWhen) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMethodCall modelASTMethodCall) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOptions modelASTOptions) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTriggers modelASTTriggers) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameters modelASTBuildParameters) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOption modelASTOption) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTTrigger modelASTTrigger) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTBuildParameter modelASTBuildParameter) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTPipelineDef modelASTPipelineDef) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageBase modelASTStageBase) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStage modelASTStage, boolean b) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStages modelASTStages) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTParallel modelASTParallel) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTMatrix modelASTMatrix) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAxisContainer modelASTAxisContainer) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTAxis modelASTAxis) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExcludes modelASTExcludes) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExclude modelASTExclude) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTExcludeAxis modelASTExcludeAxis) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTLibraries modelASTLibraries) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTWhenCondition modelASTWhenCondition) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTInternalFunctionCall modelASTInternalFunctionCall) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTStageInput modelASTStageInput) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-
validateElement
public boolean validateElement(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTValue modelASTValue) - Specified by:
validateElement
in interfaceorg.jenkinsci.plugins.pipeline.modeldefinition.validator.ModelValidator
-