T - type of items the stage operates on@ThreadSafe public class ItemMetadataTerminationStage<T> extends AbstractItemMetadataSelectionStage<T>
Stage that terminates pipeline processing if an Item has a specific type of ItemMetadata
attached to it.| Constructor and Description |
|---|
ItemMetadataTerminationStage() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(Collection<Item<T>> itemCollection,
Item<T> matchingItem,
Map<Class<? extends ItemMetadata>,List<? extends ItemMetadata>> matchingMetadata)
Performs the stage's logic on the given item that contained metadata of the given type.
|
doDestroy, doExecute, getItemIdentificationStrategy, getSelectionRequirements, setIdentificationStrategy, setSelectionRequirementsexecute, getCollectionPredicate, setCollectionPredicatesetIddoInitialize, getIddestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedprivate final Logger log
protected void doExecute(@Nonnull@NonnullElements Collection<Item<T>> itemCollection, Item<T> matchingItem, Map<Class<? extends ItemMetadata>,List<? extends ItemMetadata>> matchingMetadata) throws TerminationException
doExecute in class AbstractItemMetadataSelectionStage<T>itemCollection - current item collectionmatchingItem - matching itemmatchingMetadata - all the ItemMetadata instances that match a selection criteriaTerminationExceptionCopyright © 1999–2016. All rights reserved.