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 ofparameters
ortriggers
inoptions { ... }
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description ParametersAndTriggersInOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
validateElement(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
-
-
-
-
Method Detail
-
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
-
-