java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
org.jenkinsci.plugins.workflow.support.steps.input.InputStep
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

@ExportedBean(defaultVisibility=2) public class InputStep extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl implements Serializable
Step that pauses for human input.
Author:
Kohsuke Kawaguchi
See Also:
  • Constructor Details

    • InputStep

      @DataBoundConstructor public InputStep(String message)
  • Method Details

    • setId

      @DataBoundSetter public void setId(String id)
    • getId

      @Exported public String getId()
    • getSubmitter

      @Exported public String getSubmitter()
    • setSubmitter

      @DataBoundSetter public void setSubmitter(String submitter)
    • getSubmitterParameter

      @Exported public String getSubmitterParameter()
    • setSubmitterParameter

      @DataBoundSetter public void setSubmitterParameter(String submitterParameter)
    • getOk

      @Exported public String getOk()
      Caption of the OK button.
    • setOk

      @DataBoundSetter public void setOk(String ok)
    • getParameters

      @Exported public List<ParameterDefinition> getParameters()
    • setParameters

      @DataBoundSetter public void setParameters(List<ParameterDefinition> parameters)
    • getMessage

      @Exported public String getMessage()
    • canSubmit

      @Deprecated public boolean canSubmit()
      Deprecated.
    • canSettle

      @Deprecated public boolean canSettle(Authentication a)
      Deprecated.
      Checks if the given user can settle this input.
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Overrides:
      start in class org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
      Throws:
      Exception
    • getDescriptor

      public InputStep.DescriptorImpl getDescriptor()
      Specified by:
      getDescriptor in interface Describable<org.jenkinsci.plugins.workflow.steps.Step>
      Overrides:
      getDescriptor in class org.jenkinsci.plugins.workflow.steps.Step