Class ParametersAndTriggersInOptions
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.validator.DeclarativeValidatorContributor
org.jenkinsci.plugins.pipeline.modeldefinition.validator.ParametersAndTriggersInOptions
- All Implemented Interfaces:
ExtensionPoint
@Extension
public class ParametersAndTriggersInOptions
extends org.jenkinsci.plugins.pipeline.modeldefinition.validator.DeclarativeValidatorContributor
Validator contributor that rejects use of
parameters
or triggers
in options { ... }
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvalidateElement
(org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOption option, org.jenkinsci.plugins.workflow.flow.FlowExecution execution) Methods inherited from class org.jenkinsci.plugins.pipeline.modeldefinition.validator.DeclarativeValidatorContributor
all, isOptional, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElement, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll, validateElementAll
-
Constructor Details
-
ParametersAndTriggersInOptions
public ParametersAndTriggersInOptions()
-
-
Method Details
-
validateElement
@CheckForNull public String validateElement(@NonNull org.jenkinsci.plugins.pipeline.modeldefinition.ast.ModelASTOption option, @CheckForNull org.jenkinsci.plugins.workflow.flow.FlowExecution execution) - Overrides:
validateElement
in classorg.jenkinsci.plugins.pipeline.modeldefinition.validator.DeclarativeValidatorContributor
-