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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.jenkinsci.plugins.pipeline.modeldefinition.validator.DeclarativeValidatorContributor