public class BlobCollector extends BlobList implements OutputCollector<Blob,BlobList>
Blob
objects and return them as a BlobList
object.
You may use this to automatically iterate over iterable inputs in operation methods that return a Blob
object.
Constructor and Description |
---|
BlobCollector() |
Modifier and Type | Method and Description |
---|---|
void |
collect(OperationContext ctx,
Blob obj)
Collects a new partial result (the result of the last iteration step).
|
BlobList |
getOutput()
Gets the final output.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
containsAll, equals, hashCode
public void collect(OperationContext ctx, Blob obj) throws OperationException
OutputCollector
collect
in interface OutputCollector<Blob,BlobList>
OperationException
public BlobList getOutput()
OutputCollector
getOutput
in interface OutputCollector<Blob,BlobList>
Copyright © 2015 Nuxeo SA. All rights reserved.