T - the type of item upon which this stage operates@ThreadSafe public class SimplePipeline<T> extends net.shibboleth.utilities.java.support.component.AbstractIdentifiableInitializableComponent implements Pipeline<T>
Pipeline.| Modifier and Type | Field and Description |
|---|---|
private List<Stage<T>> |
pipelineStages
Stages for this pipeline.
|
| Constructor and Description |
|---|
SimplePipeline() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDestroy() |
protected void |
doInitialize() |
void |
execute(Collection<Item<T>> itemCollection)
Executes each registered
Stage in turn. |
List<Stage<T>> |
getStages()
Gets the list of Stages within the pipeline.
|
void |
setStages(List<Stage<T>> stages)
Sets the stages that make up this pipeline.
|
setIdgetIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyed@Nonnull @NonnullElements @Unmodifiable public List<Stage<T>> getStages()
public void setStages(List<Stage<T>> stages)
stages - stages that make up this pipelinepublic void execute(@Nonnull@NonnullElements Collection<Item<T>> itemCollection) throws PipelineProcessingException
Stage in turn.execute in interface Pipeline<T>itemCollection - the collection that will hold the Item as it passes from stage to stagePipelineProcessingException - thrown if there is a problem processing the pipelineprotected void doDestroy()
doDestroy in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentprotected void doInitialize()
throws net.shibboleth.utilities.java.support.component.ComponentInitializationException
doInitialize in class net.shibboleth.utilities.java.support.component.AbstractIdentifiedInitializableComponentnet.shibboleth.utilities.java.support.component.ComponentInitializationExceptionCopyright © 1999–2016. All rights reserved.