Uses of Class
org.jenkinsci.plugins.workflow.steps.StepExecution
-
Uses of StepExecution in org.jenkinsci.plugins.workflow.steps
Modifier and TypeClassDescriptionclass
Partial implementation ofStepExecution
that injectsStepContextParameter
upon resume.class
Deprecated.class
Deprecated.ExtendSynchronousStepExecution
and avoid Guice.class
Generalization ofSynchronousNonBlockingStepExecution
that can be used for block-scoped steps.class
Similar toSynchronousStepExecution
(it executes synchronously too) but it does not block the CPS VM thread.class
StepExecution
that always executes synchronously.Modifier and TypeMethodDescriptionstatic <T extends StepExecution>
com.google.common.util.concurrent.ListenableFuture<?>Applies only to the specific subtypes.Modifier and TypeMethodDescriptionstatic StepExecution
StepExecutions.block
(StepContext context, StepExecutions.BlockBody body) Creates a block-scoped execution allowing various initial actions includingBodyInvoker.withContext(java.lang.Object)
.AbstractStepImpl.start
(StepContext context) Constructs a step execution automatically according toAbstractStepDescriptorImpl.getExecutionType()
.abstract StepExecution
Step.start
(StepContext context) Start execution of something and report the end result back to the given callback.static StepExecution
StepExecutions.synchronous
(StepContext context, StepExecutions.SynchronousBody body) Creates aSynchronousStepExecution
running a given block with a return value.static StepExecution
StepExecutions.synchronousNonBlocking
(StepContext context, StepExecutions.SynchronousBody body) Creates aSynchronousNonBlockingStepExecution
running a given block with a return value.static StepExecution
StepExecutions.synchronousNonBlockingVoid
(StepContext context, StepExecutions.SynchronousBodyVoid body) Creates aSynchronousNonBlockingStepExecution
running a given block.static StepExecution
StepExecutions.synchronousVoid
(StepContext context, StepExecutions.SynchronousBodyVoid body) Creates aSynchronousStepExecution
running a given block.Modifier and TypeMethodDescriptionabstract Collection<StepExecution>
BodyExecution.getCurrentExecutions()
Returns the inner-mostStepExecution
s that are currently executing.final Class<? extends StepExecution>
AbstractStepDescriptorImpl.getExecutionType()
Deprecated.Modifier and TypeMethodDescriptionabstract com.google.common.util.concurrent.ListenableFuture<?>
StepExecutionIterator.apply
(com.google.common.base.Function<StepExecution, Void> f) Finds all the ongoingStepExecution
and apply the function.static com.google.common.util.concurrent.ListenableFuture<?>
StepExecution.applyAll
(com.google.common.base.Function<StepExecution, Void> f) Apply the given function to all the active runningStepExecution
s in the system.ModifierConstructorDescriptionprotected
AbstractStepDescriptorImpl
(Class<? extends StepExecution> executionType) Deprecated.
SynchronousNonBlockingStepExecution
and avoid Guice.