Class PipelineCallable<T>

java.lang.Object
net.shibboleth.metadata.pipeline.impl.PipelineCallable<T>
Type Parameters:
T - type of the items processed by the pipeline
All Implemented Interfaces:
Callable<List<Item<T>>>

@Immutable public class PipelineCallable<T> extends Object implements Callable<List<Item<T>>>
A Callable that executes a Pipeline and returns the given item collection.
  • Field Details

    • LOG

      @Nonnull private static final org.slf4j.Logger LOG
      Class logger.
    • thePipeline

      @Nonnull private final Pipeline<T> thePipeline
      The pipeline to be executed, never null.
    • theItems

      @Nonnull @NonnullElements private final List<Item<T>> theItems
      The collection of items upon which the pipeline will operate.
  • Constructor Details

    • PipelineCallable

      public PipelineCallable(@Nonnull Pipeline<T> pipeline, @Nonnull @NonnullElements List<Item<T>> items)
      Constructor.
      Parameters:
      pipeline - the pipeline that will be invoked; must be initialized; can not be null
      items - the collection of items upon which the pipeline will operate, can not be null
  • Method Details