net.shibboleth.metadata.pipeline
Class ItemMetadataTerminationStage

java.lang.Object
  extended by net.shibboleth.metadata.pipeline.AbstractComponent
      extended by net.shibboleth.metadata.pipeline.BaseStage<Item<?>>
          extended by net.shibboleth.metadata.pipeline.AbstractItemMetadataSelectionStage
              extended by net.shibboleth.metadata.pipeline.ItemMetadataTerminationStage
All Implemented Interfaces:
Component, Stage<Item<?>>

public class ItemMetadataTerminationStage
extends AbstractItemMetadataSelectionStage

A Stage that terminates pipeline processing if an Item has a specific type of ItemMetadata attached to it.


Field Summary
private  Logger log
          Class logger.
 
Constructor Summary
ItemMetadataTerminationStage()
           
 
Method Summary
protected  void doExecute(Collection<Item<?>> itemCollection, Item<?> 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.
 
Methods inherited from class net.shibboleth.metadata.pipeline.AbstractItemMetadataSelectionStage
doExecute, getItemIdentifierStrategy, getSelectionRequirements, setIdentifierStrategy, setSelectionRequirements
 
Methods inherited from class net.shibboleth.metadata.pipeline.BaseStage
execute
 
Methods inherited from class net.shibboleth.metadata.pipeline.AbstractComponent
doInitialize, 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

log

private final Logger log
Class logger.

Constructor Detail

ItemMetadataTerminationStage

public ItemMetadataTerminationStage()
Method Detail

doExecute

protected void doExecute(Collection<Item<?>> itemCollection,
                         Item<?> matchingItem,
                         Map<Class<? extends ItemMetadata>,List<? extends ItemMetadata>> matchingMetadata)
                  throws StageProcessingException
Performs the stage's logic on the given item that contained metadata of the given type.

Specified by:
doExecute in class AbstractItemMetadataSelectionStage
Parameters:
itemCollection - current item collection
matchingItem - matching item
matchingMetadata - all the ItemMetadata instances that match a selection criteria
Throws:
StageProcessingException - thrown if there is a problem processing the item


Copyright © 2009-2011. All Rights Reserved.