T - type of Item this stage operates upon@ThreadSafe public class ItemMetadataAddingStage<T> extends BaseIteratingStage<T>
ItemMetadata objects to each Item's item metadata.| Modifier and Type | Field and Description |
|---|---|
private Collection<ItemMetadata> |
additionalItemMetadata
ItemMetadata objects to add to each Item's item metadata. |
| Constructor and Description |
|---|
ItemMetadataAddingStage() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doExecute(Item<T> item)
Processes a given Item.
|
Collection<ItemMetadata> |
getAdditionalItemMetadata()
Gets the
ItemMetadata being added to each Item's item metadata. |
void |
setAdditionalItemMetadata(Collection<ItemMetadata> metadata)
Gets the
ItemMetadata to be added to each Item's item metadata. |
doExecuteexecute, getCollectionPredicate, setCollectionPredicatesetIddoInitialize, getIddestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedprivate Collection<ItemMetadata> additionalItemMetadata
ItemMetadata objects to add to each Item's item metadata.@Nonnull public Collection<ItemMetadata> getAdditionalItemMetadata()
ItemMetadata being added to each Item's item metadata.ItemMetadata being added to each Item's item metadatapublic void setAdditionalItemMetadata(@Nonnull Collection<ItemMetadata> metadata)
ItemMetadata to be added to each Item's item metadata.metadata - the ItemMetadata to be added to each Item's item metadataprotected boolean doExecute(@Nonnull Item<T> item) throws StageProcessingException
doExecute in class BaseIteratingStage<T>item - Item on which to operateStageProcessingException - thrown if there is a problem with the stage processingCopyright © 1999–2016. All rights reserved.