Class InputStep
- 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InputStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
canSettle(Authentication a)
Deprecated.boolean
canSubmit()
Deprecated.InputStep.DescriptorImpl
getDescriptor()
String
getId()
String
getMessage()
String
getOk()
Caption of the OK button.List<ParameterDefinition>
getParameters()
String
getSubmitter()
String
getSubmitterParameter()
void
setId(String id)
void
setOk(String ok)
void
setParameters(List<ParameterDefinition> parameters)
void
setSubmitter(String submitter)
void
setSubmitterParameter(String submitterParameter)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
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)
-
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 classorg.jenkinsci.plugins.workflow.steps.AbstractStepImpl
- Throws:
Exception
-
getDescriptor
public InputStep.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<org.jenkinsci.plugins.workflow.steps.Step>
- Overrides:
getDescriptor
in classorg.jenkinsci.plugins.workflow.steps.Step
-
-