T - the type of item produced by this source@ThreadSafe public class StaticItemSourceStage<T> extends BaseStage<T>
Item collection.| Modifier and Type | Field and Description |
|---|---|
private Collection<Item<T>> |
source
Collection of static Items added to each Item collection by
BaseStage.execute(Collection). |
| Constructor and Description |
|---|
StaticItemSourceStage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDestroy() |
protected void |
doExecute(Collection<Item<T>> itemCollection)
Performs the stage processing on the given Item collection.
|
Collection<Item<T>> |
getSourceItems()
Gets the collection of static Items added to the Item collection by this stage.
|
void |
setSourceItems(Collection<Item<T>> items)
Sets the collection of Items added to the Item collection by this stage.
|
execute, getCollectionPredicate, setCollectionPredicatesetIddoInitialize, getIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedprivate Collection<Item<T>> source
BaseStage.execute(Collection).@Nonnull @NonnullElements @Unmodifiable public Collection<Item<T>> getSourceItems()
public void setSourceItems(@Nullable@NullableElements Collection<Item<T>> items)
items - collection of Items added to the Item collection by this stageprotected void doExecute(@Nonnull@NonnullElements Collection<Item<T>> itemCollection) throws StageProcessingException
The stage is guaranteed to be have been initialized and not destroyed when this is invoked.
doExecute in class BaseStage<T>itemCollection - collection to be processedStageProcessingException - thrown if there is an unrecoverable problem when processing the stageprotected void doDestroy()
doDestroy in class net.shibboleth.utilities.java.support.component.AbstractInitializableComponentCopyright © 1999–2016. All rights reserved.