|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.shibboleth.metadata.pipeline.AbstractComponent
net.shibboleth.metadata.pipeline.CompositeStage<ItemType>
ItemType - type of Items this stage, and its composed stages, operate uponpublic class CompositeStage<ItemType extends Item<?>>
A stage that is composed of other stages. This allows a collection of stages to be grouped together and for that composition to the be referenced and reused.
| Field Summary | |
|---|---|
private List<Stage<ItemType>> |
composedStages
Stages which compose this stage. |
| Constructor Summary | |
|---|---|
CompositeStage()
|
|
| Method Summary | |
|---|---|
protected void |
doInitialize()
Do the initialization of the component. |
void |
execute(Collection<ItemType> itemCollection)
Transforms the given input data. |
List<Stage<ItemType>> |
getComposedStages()
Gets an unmodifiable list the stages that compose this stage. |
void |
setComposedStages(List<Stage<ItemType>> stages)
Sets the list the stages that compose this stage. |
| Methods inherited from class net.shibboleth.metadata.pipeline.AbstractComponent |
|---|
equals, getId, getInitializationInstant, hashCode, initialize, isInitialized, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface net.shibboleth.metadata.pipeline.Component |
|---|
getId, getInitializationInstant, initialize, isInitialized |
| Field Detail |
|---|
private List<Stage<ItemType extends Item<?>>> composedStages
| Constructor Detail |
|---|
public CompositeStage()
| Method Detail |
|---|
public List<Stage<ItemType>> getComposedStages()
public void setComposedStages(List<Stage<ItemType>> stages)
stages - list the stages that compose this stage, may be null or contain null elements
public void execute(Collection<ItemType> itemCollection)
throws StageProcessingException
execute in interface Stage<ItemType extends Item<?>>itemCollection - the data to be transformed
StageProcessingException - thrown if there is a problem running this stage on the given input
protected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractComponentComponentInitializationException - throw if there is a problem initializing the component
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||