Package org.frankframework.collection
Class Collection<C extends ICollector<P>,P>
java.lang.Object
org.frankframework.collection.Collection<C,P>
- Type Parameters:
C
- Collector to use, which creates the partsP
- Parts to be added to each collection
- All Implemented Interfaces:
AutoCloseable
,INamedObject
public class Collection<C extends ICollector<P>,P>
extends Object
implements AutoCloseable, INamedObject
Aggregator which handles the collection of
collector parts
.
Ensures they are closed if required and 'builds' the collection.- Author:
- Niels Meijer
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Collection
-
-
Method Details
-
add
public void add(Message input, PipeLineSession session, ParameterValueList pvl) throws CollectionException - Throws:
CollectionException
-
build
closes the collector- Throws:
CollectionException
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
toString
-
getName
- Specified by:
getName
in interfaceINamedObject
-
setName
- Specified by:
setName
in interfaceINamedObject
-