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 running StepExecutions in the system.
Author:
Kohsuke Kawaguchi
See Also:
  • 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 ongoing StepExecution and apply the function. The control flow is inverted because a major use case (workflow) loads StepExecutions 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()