net.shibboleth.metadata.pipeline
Class PipelineCallable

java.lang.Object
  extended by net.shibboleth.metadata.pipeline.PipelineCallable
All Implemented Interfaces:
Callable<Collection<? extends Item>>

public class PipelineCallable
extends Object
implements Callable<Collection<? extends Item>>

A Callable that executes a Pipeline and returns the given item collection.


Field Summary
private  Collection<? extends Item> itemCollection
          The collection of items upon which the pipeline will operate.
private  Logger log
          Class logger.
private  Pipeline pipeline
          The pipeline to be executed, never null.
 
Constructor Summary
PipelineCallable(Pipeline invokedPipeline, Collection<? extends Item> items)
          Constructor.
 
Method Summary
 Collection<? extends Item> call()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private final Logger log
Class logger.


pipeline

private Pipeline pipeline
The pipeline to be executed, never null.


itemCollection

private Collection<? extends Item> itemCollection
The collection of items upon which the pipeline will operate.

Constructor Detail

PipelineCallable

public PipelineCallable(Pipeline invokedPipeline,
                        Collection<? extends Item> items)
Constructor.

Parameters:
invokedPipeline - 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 Detail

call

public Collection<? extends Item> call()

Specified by:
call in interface Callable<Collection<? extends Item>>


Copyright © 2009-2011. All Rights Reserved.