Class UpdateLockStep.DescriptorImpl

java.lang.Object
hudson.model.Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.StepDescriptor
org.jenkins.plugins.lockableresources.UpdateLockStep.DescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Enclosing class:
UpdateLockStep

@Extension public static final class UpdateLockStep.DescriptorImpl extends org.jenkinsci.plugins.workflow.steps.StepDescriptor
  • Constructor Details

    • DescriptorImpl

      public DescriptorImpl()
  • Method Details

    • getFunctionName

      public String getFunctionName()
      Specified by:
      getFunctionName in class org.jenkinsci.plugins.workflow.steps.StepDescriptor
    • getDisplayName

      @NonNull public String getDisplayName()
      Overrides:
      getDisplayName in class Descriptor<org.jenkinsci.plugins.workflow.steps.Step>
    • takesImplicitBlockArgument

      public boolean takesImplicitBlockArgument()
      Overrides:
      takesImplicitBlockArgument in class org.jenkinsci.plugins.workflow.steps.StepDescriptor
    • getRequiredContext

      public Set<Class<?>> getRequiredContext()
      Specified by:
      getRequiredContext in class org.jenkinsci.plugins.workflow.steps.StepDescriptor
    • doAutoCompleteResource

      public AutoCompletionCandidates doAutoCompleteResource(@QueryParameter String value, @AncestorInPath Item item)
      Provides auto-completion for resource names.
    • doCheckResource

      public FormValidation doCheckResource(@QueryParameter String value, @AncestorInPath Item item)
      Validates the resource name.
    • doCheckAddLabels

      public FormValidation doCheckAddLabels(@QueryParameter String value, @QueryParameter String setLabels, @AncestorInPath Item item)
      Validates addLabels option - cannot be used with setLabels.
    • doCheckRemoveLabels

      public FormValidation doCheckRemoveLabels(@QueryParameter String value, @QueryParameter String setLabels, @AncestorInPath Item item)
      Validates removeLabels option - cannot be used with setLabels.
    • doCheckDeleteResource

      public FormValidation doCheckDeleteResource(@QueryParameter boolean value, @QueryParameter String setLabels, @QueryParameter String addLabels, @QueryParameter String removeLabels, @QueryParameter String setNote, @QueryParameter boolean createResource, @AncestorInPath Item item)
      Validates deleteResource option - cannot be combined with other modify options.