public class InputStepExecution extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl implements ModelObject
| Constructor and Description |
|---|
InputStepExecution() |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doAbort()
REST endpoint to abort the workflow.
|
org.kohsuke.stapler.HttpResponse |
doProceed(org.kohsuke.stapler.StaplerRequest request)
REST endpoint to submit the input.
|
org.kohsuke.stapler.HttpResponse |
doProceedEmpty()
Used from the Proceed hyperlink when no parameters are defined.
|
org.kohsuke.stapler.HttpResponse |
doSubmit(org.kohsuke.stapler.StaplerRequest request)
Called from the form via browser to submit/abort this input step.
|
String |
getDisplayName() |
String |
getId() |
InputStep |
getInput() |
Run |
getRun() |
boolean |
isSettled()
If this input step has been decided one way or the other.
|
void |
preSubmissionCheck()
Check if the current user can submit the input.
|
org.kohsuke.stapler.HttpResponse |
proceed(Map<String,Object> params)
Processes the acceptance (approval) request.
|
org.kohsuke.stapler.HttpResponse |
proceed(Object v)
Deprecated.
|
boolean |
start() |
void |
stop(Throwable cause) |
inject, onResumepublic boolean start()
throws Exception
start in class org.jenkinsci.plugins.workflow.steps.StepExecutionExceptionpublic void stop(Throwable cause) throws Exception
stop in class org.jenkinsci.plugins.workflow.steps.StepExecutionExceptionpublic String getId()
public InputStep getInput()
public Run getRun()
public boolean isSettled()
public String getDisplayName()
getDisplayName in interface ModelObjectpublic org.kohsuke.stapler.HttpResponse doSubmit(org.kohsuke.stapler.StaplerRequest request)
throws IOException,
javax.servlet.ServletException,
InterruptedException
IOExceptionjavax.servlet.ServletExceptionInterruptedExceptionpublic org.kohsuke.stapler.HttpResponse doProceed(org.kohsuke.stapler.StaplerRequest request)
throws IOException,
javax.servlet.ServletException,
InterruptedException
IOExceptionjavax.servlet.ServletExceptionInterruptedExceptionpublic org.kohsuke.stapler.HttpResponse proceed(@CheckForNull Map<String,Object> params)
doProceedEmpty() and doProceed(StaplerRequest)params - A map that represents the parameters sent in the request@Deprecated public org.kohsuke.stapler.HttpResponse proceed(Object v)
public org.kohsuke.stapler.HttpResponse doProceedEmpty()
throws IOException
IOExceptionpublic org.kohsuke.stapler.HttpResponse doAbort()
public void preSubmissionCheck()
Copyright © 2016–2020. All rights reserved.