Class 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:
    Serialized Form
    • Constructor Detail

      • InputStep

        @DataBoundConstructor
        public InputStep​(String message)
    • Method Detail

      • 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)
      • 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