Class StepExecutionIterator
java.lang.Object
org.jenkinsci.plugins.workflow.steps.StepExecutionIterator
- All Implemented Interfaces:
ExtensionPoint
Enumerates active running
StepExecution
s in the system.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<StepExecutionIterator>
all()
abstract com.google.common.util.concurrent.ListenableFuture<?>
apply
(com.google.common.base.Function<StepExecution, Void> f) Finds all the ongoingStepExecution
and apply the function.
-
Constructor Details
-
StepExecutionIterator
public StepExecutionIterator()
-
-
Method Details
-
apply
public abstract com.google.common.util.concurrent.ListenableFuture<?> apply(com.google.common.base.Function<StepExecution, Void> f) Finds all the ongoingStepExecution
and apply the function. The control flow is inverted because a major use case (workflow) loadsStepExecution
s asynchronously (for example when workflow run is blocked trying to restore pickles.)- Returns:
ListenableFuture
to signal the completion of the application.
-
all
-