public class InputStepExecution
extends org.jenkinsci.plugins.workflow.steps.AbstractStepExecutionImpl
implements hudson.model.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() |
hudson.model.Run |
getRun() |
boolean |
isSettled()
If this input step has been decided one way or the other.
|
org.kohsuke.stapler.HttpResponse |
proceed(Map<String,Object> params)
Processes the acceptance (approval) request.
|
boolean |
start() |
void |
stop(Throwable cause) |
inject, onResume
public boolean start() throws Exception
start
in class org.jenkinsci.plugins.workflow.steps.StepExecution
Exception
public void stop(Throwable cause) throws Exception
stop
in class org.jenkinsci.plugins.workflow.steps.StepExecution
Exception
public String getId()
public InputStep getInput()
public hudson.model.Run getRun()
public boolean isSettled()
public String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
public org.kohsuke.stapler.HttpResponse doSubmit(org.kohsuke.stapler.StaplerRequest request) throws IOException, javax.servlet.ServletException, InterruptedException
IOException
javax.servlet.ServletException
InterruptedException
public org.kohsuke.stapler.HttpResponse doProceed(org.kohsuke.stapler.StaplerRequest request) throws IOException, javax.servlet.ServletException, InterruptedException
IOException
javax.servlet.ServletException
InterruptedException
public org.kohsuke.stapler.HttpResponse proceed(@CheckForNull Map<String,Object> params)
doProceedEmpty()
and doProceed(StaplerRequest)
params
- A map that represents the parameters sent in the requestpublic org.kohsuke.stapler.HttpResponse doProceedEmpty() throws IOException
IOException
public org.kohsuke.stapler.HttpResponse doAbort()
Copyright © 2016–2017. All rights reserved.