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
Stage that 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 |
|---|---|
void |
execute(Collection<Item<T>> itemCollection)
Executes each registered
Stage in turn. |
List<Stage<T>> |
getStages()
Gets the list of Stages within the pipeline.
|
destroy, isDestroyed@Nonnull @NonnullElements List<Stage<T>> getStages()
void execute(@Nonnull@NonnullElements Collection<Item<T>> itemCollection) throws PipelineProcessingException
Stage in turn.itemCollection - the collection that will hold the Item as it passes from stage to stagePipelineProcessingException - thrown if there is a problem processing the pipelineCopyright © 1999–2016. All rights reserved.