public class PipelineEndExecution extends AbstractStepExecution
PipelineEndStep. Handles the any associated events.| Constructor and Description |
|---|
PipelineEndExecution(org.jenkinsci.plugins.workflow.steps.StepContext context,
boolean mirror,
boolean empty) |
| Modifier and Type | Method and Description |
|---|---|
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 |
end()
Ends this step when receiving an associated event.
|
String |
getStatus() |
boolean |
isApplicable(io.adobe.cloudmanager.PipelineExecution pe)
indicates if this executions is associated with the remote Cloud Manager pipeline.
|
boolean |
isFinished() |
void |
occurred(io.adobe.cloudmanager.PipelineExecution pe)
Processes the execution event, will quietly terminate any internal running
PipelineStepStateExecution instances. |
void |
rerun(org.jenkinsci.plugins.workflow.steps.StepContext bodyContext)
Reruns the body, as this step hasn't receiving an end event as yet.
|
doStop, getAioProject, getApi, getBuildData, getFlowNode, getId, getRun, getTaskListener, isAsync, onResume, start, stop, validateDatapublic PipelineEndExecution(org.jenkinsci.plugins.workflow.steps.StepContext context,
boolean mirror,
boolean empty)
public boolean isFinished()
public void doStart()
throws Exception
AbstractStepExecutiondoStart in class AbstractStepExecutionExceptionpublic void doResume()
AbstractStepExecutiondoResume in class AbstractStepExecution@CheckForNull public String getStatus()
getStatus in class org.jenkinsci.plugins.workflow.steps.StepExecutionpublic void rerun(org.jenkinsci.plugins.workflow.steps.StepContext bodyContext)
public void end()
public boolean isApplicable(io.adobe.cloudmanager.PipelineExecution pe)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void occurred(@Nonnull io.adobe.cloudmanager.PipelineExecution pe) throws IOException, InterruptedException
PipelineStepStateExecution instances.
If any unknown body steps are waiting, they'll block this event processing from early termination of this step.
IOExceptionInterruptedExceptionCopyright © 2020–2021 Adobe Inc. All rights reserved.