Class InteractiveViewStep.DescriptorImpl

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

@Extension public static class InteractiveViewStep.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>
    • doFillModeItems

      @POST @NonNull public ListBoxModel doFillModeItems()
      Populates the Mode dropdown in the Snippet Generator form. @POST for the Security Scan CSRF check; Jenkins.READ is the Snippet Generator's own gate.
    • getRequiredContext

      public Set<? extends Class<?>> getRequiredContext()
      Requires a FilePath because the step reads the named file from the build's workspace; calling it outside a node/workspace context fails with the standard "missing context" message.
      Specified by:
      getRequiredContext in class org.jenkinsci.plugins.workflow.steps.StepDescriptor