public class PollPipelineExecution extends AbstractStepExecution
PollPipelineStep
.
Periodically checks if the specified Cloud Manager execution is complete.Modifier and Type | Field and Description |
---|---|
protected ScheduledFuture<?> |
task |
Constructor and Description |
---|
PollPipelineExecution(org.jenkinsci.plugins.workflow.steps.StepContext context,
long recurrencePeriod,
boolean quiet) |
Modifier and Type | Method and Description |
---|---|
protected void |
createTask() |
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.
|
getAioProject, getApi, getBuildData, getFlowNode, getId, getRun, getTaskListener, isAsync, onResume, start, stop, validateData
protected transient volatile ScheduledFuture<?> task
public PollPipelineExecution(org.jenkinsci.plugins.workflow.steps.StepContext context, long recurrencePeriod, boolean quiet)
public void doStart() throws Exception
AbstractStepExecution
doStart
in class AbstractStepExecution
Exception
public void doResume()
AbstractStepExecution
doResume
in class AbstractStepExecution
public void doStop() throws Exception
AbstractStepExecution
doStop
in class AbstractStepExecution
Exception
protected void createTask()
Copyright © 2020–2021 Adobe Inc. All rights reserved.