T- type of item which is processed by this pipeline
@ThreadSafe public interface Pipeline<T> extends net.shibboleth.utilities.java.support.component.DestructableComponent, net.shibboleth.utilities.java.support.component.IdentifiedComponent, net.shibboleth.utilities.java.support.component.InitializableComponent
Stagethat operate on a collection of
Item. In general the first stage is responsible for populating the collection with an initial set of Items which subsequent stages further modify. Each pipeline must be initialized, via the
InitializableComponent.initialize()method, before use. After a pipeline has been initialized it may never be re-initialized. A pipeline is not considered initialized until all of its
Stage, have been initialized. Pipelines are reusable and threadsafe.
|Modifier and Type||Method and Description|
Executes each registered
Gets the list of Stages within the pipeline.
void execute(@Nonnull@NonnullElements Collection<Item<T>> itemCollection) throws PipelineProcessingException
itemCollection- the collection that will hold the Item as it passes from stage to stage
PipelineProcessingException- thrown if there is a problem processing the pipeline
Copyright © 1999–2016. All rights reserved.