net.shibboleth.metadata
Interface CollectionMergeStrategy

All Known Implementing Classes:
DeduplicatingItemIdMergeStrategy, SimpleCollectionMergeStrategy

public interface CollectionMergeStrategy

Strategy used to merge the results of each child pipeline in to the collection of Items given to this stage.


Method Summary
 void mergeCollection(Collection<Item<?>> target, Collection<Item<?>>... sources)
          Merges the results of each child pipeline in to the collection of Item given to this stage.
 

Method Detail

mergeCollection

void mergeCollection(Collection<Item<?>> target,
                     Collection<Item<?>>... sources)
Merges the results of each child pipeline in to the collection of Item given to this stage.

Parameters:
target - collection in to which all the Items should be merged, never null
sources - collections of Items to be merged in to the target, never null not containing any null elements


Copyright © 2009-2011. All Rights Reserved.