public class PipelineStepStateExecution extends AbstractStepExecution
PipelineStepStateStep. Handles the any associated events.| Constructor and Description |
|---|
PipelineStepStateExecution(org.jenkinsci.plugins.workflow.steps.StepContext context,
Set<io.adobe.cloudmanager.StepAction> actions,
boolean autoApprove,
boolean advance,
boolean waitingPause) |
| Modifier and Type | Method and Description |
|---|---|
org.kohsuke.stapler.HttpResponse |
doCancel()
REST Submission
|
void |
doEndQuietly()
Used by wrapping block steps to quietly end this step without changing the build status.
|
org.kohsuke.stapler.HttpResponse |
doProceed()
REST Submission
|
void |
doResume()
Subclasses should override this to provide specific logic after a restart operation.
|
void |
doStart()
Subclasses should override this to provide specific logic on step start.
|
void |
doStop()
Subclasses should override this to require specific logic during a stop operation.
|
org.kohsuke.stapler.HttpResponse |
doSubmit(org.kohsuke.stapler.StaplerRequest request)
Form Submission
|
io.adobe.cloudmanager.StepAction |
getReason() |
boolean |
isApplicable(io.adobe.cloudmanager.PipelineExecution pe)
Determines if this execution will process the remote Pipeline Execution.
|
boolean |
isApplicable(io.adobe.cloudmanager.PipelineExecutionStepState stepState)
Determines if this execution will process the associated remote Step State.
|
boolean |
isProcessed()
Flag to indicate that this step is waiting for user interaction.
|
void |
process(io.adobe.cloudmanager.PipelineExecution pe,
io.adobe.cloudmanager.PipelineExecutionStepState stepState) |
getAioProject, getApi, getBuildData, getFlowNode, getId, getRun, getTaskListener, isAsync, onResume, start, stop, validateDatapublic PipelineStepStateExecution(org.jenkinsci.plugins.workflow.steps.StepContext context,
Set<io.adobe.cloudmanager.StepAction> actions,
boolean autoApprove,
boolean advance,
boolean waitingPause)
@CheckForNull public io.adobe.cloudmanager.StepAction getReason()
public void doStart()
throws Exception
AbstractStepExecutiondoStart in class AbstractStepExecutionExceptionpublic void doResume()
throws IOException,
InterruptedException
AbstractStepExecutiondoResume in class AbstractStepExecutionIOExceptionInterruptedExceptionpublic void doStop()
throws Exception
AbstractStepExecutiondoStop in class AbstractStepExecutionExceptionpublic boolean isApplicable(io.adobe.cloudmanager.PipelineExecutionStepState stepState)
public boolean isApplicable(io.adobe.cloudmanager.PipelineExecution pe)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void process(io.adobe.cloudmanager.PipelineExecution pe,
io.adobe.cloudmanager.PipelineExecutionStepState stepState)
throws IOException,
InterruptedException,
TimeoutException
public boolean isProcessed()
public org.kohsuke.stapler.HttpResponse doSubmit(org.kohsuke.stapler.StaplerRequest request)
throws IOException,
javax.servlet.ServletException,
InterruptedException
IOExceptionjavax.servlet.ServletExceptionInterruptedExceptionpublic org.kohsuke.stapler.HttpResponse doProceed()
throws IOException,
javax.servlet.ServletException,
InterruptedException
IOExceptionjavax.servlet.ServletExceptionInterruptedExceptionpublic org.kohsuke.stapler.HttpResponse doCancel()
throws IOException,
InterruptedException
IOExceptionInterruptedException@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public void doEndQuietly()
throws IOException,
InterruptedException
Primarily intended to be used by PipelineEndStep.
IOExceptionInterruptedExceptionCopyright © 2020–2021 Adobe Inc. All rights reserved.