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, validateData
public 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
AbstractStepExecution
doStart
in class AbstractStepExecution
Exception
public void doResume() throws IOException, InterruptedException
AbstractStepExecution
doResume
in class AbstractStepExecution
IOException
InterruptedException
public void doStop() throws Exception
AbstractStepExecution
doStop
in class AbstractStepExecution
Exception
public boolean isApplicable(io.adobe.cloudmanager.PipelineExecutionStepState stepState)
public boolean isApplicable(io.adobe.cloudmanager.PipelineExecution pe) throws IOException, InterruptedException
IOException
InterruptedException
public 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
IOException
javax.servlet.ServletException
InterruptedException
public org.kohsuke.stapler.HttpResponse doProceed() throws IOException, javax.servlet.ServletException, InterruptedException
IOException
javax.servlet.ServletException
InterruptedException
public org.kohsuke.stapler.HttpResponse doCancel() throws IOException, InterruptedException
IOException
InterruptedException
@Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public void doEndQuietly() throws IOException, InterruptedException
Primarily intended to be used by PipelineEndStep
.
IOException
InterruptedException
Copyright © 2020–2021 Adobe Inc. All rights reserved.