C
- Collector to use, which creates the partsP
- Parts to be added to each collectionpublic class Collection<C extends ICollector<P>,P> extends Object implements AutoCloseable, INamedObject
collector parts
.
Ensures they are closed if required and 'builds' the collection.Constructor and Description |
---|
Collection(C collector) |
Modifier and Type | Method and Description |
---|---|
void |
add(Message input,
PipeLineSession session,
ParameterValueList pvl) |
Message |
build()
closes the collector
|
void |
close() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName, setName
public Collection(C collector)
public void add(Message input, PipeLineSession session, ParameterValueList pvl) throws CollectionException
CollectionException
public Message build() throws CollectionException
CollectionException
public void close() throws Exception
close
in interface AutoCloseable
Exception
Copyright © 2023 Frank!Framework. All rights reserved.