net.shibboleth.metadata
Class SimpleCollectionMergeStrategy
java.lang.Object
net.shibboleth.metadata.SimpleCollectionMergeStrategy
- All Implemented Interfaces:
- CollectionMergeStrategy
public class SimpleCollectionMergeStrategy
- extends Object
- implements CollectionMergeStrategy
A CollectionMergeStrategy that adds the Item from each source, in order, by means of the
Collection.addAll(Collection) method on the target.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleCollectionMergeStrategy
public SimpleCollectionMergeStrategy()
mergeCollection
public void mergeCollection(@Nonnull@NonnullElements
Collection<Item<?>> target,
@Nonnull@NonnullElements
Collection<Item<?>>... sources)
- Merges the results of each child pipeline in to the collection of Item given to this stage.
- Specified by:
mergeCollection in interface CollectionMergeStrategy
- Parameters:
target - collection in to which all the Items should be merged, never nullsources - collections of Items to be merged in to the target, never null not containing any null elements
Copyright © 1999-2012. All Rights Reserved.