Class StepExecutionIterator
- java.lang.Object
-
- org.jenkinsci.plugins.workflow.steps.StepExecutionIterator
-
- All Implemented Interfaces:
ExtensionPoint
public abstract class StepExecutionIterator extends Object implements ExtensionPoint
Enumerates active runningStepExecution
s in the system.- Author:
- Kohsuke Kawaguchi
- See Also:
StepExecution.applyAll(Class, Function)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description StepExecutionIterator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static 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.
-
-
-
Method Detail
-
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
public static ExtensionList<StepExecutionIterator> all()
-
-