Class SortedJobs
java.lang.Object
ch.tocco.nice2.outputcenter.api.sorting.SortedBase
ch.tocco.nice2.outputcenter.api.sorting.SortedJobs
- All Implemented Interfaces:
Iterable<OutputCenterInputSupplier>
The result when sorting a set of
OutputJobs. It iterates over
all documents that are sorted according to the specification. Besides
that, methods are provided to access certain parts individually.
This object is only mutable from classes in this package. Once obtained
from the JobItemSorter, it is immutable.
All (public) methods return non-null values and take non-null arguments.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEnvelope(String recipientAddress) getEnvelope(Optional<String> recipientAddress) Returns the sorted "envelope" for the given recipient address.Returns the list of envelopes properly ordered.getItems()Returns allSortableItems in the defined order.Returns the sorted list of the *address as string* fields.iterator()Methods inherited from class SortedBase
findSupplier, getOutputJobs, getUnwrappedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
SortedJobs
public SortedJobs()
-
-
Method Details
-
getRecipientAdresses
-
getEnvelope
-
getEnvelope
-
getEnvelopes
-
getItems
Returns allSortableItems in the defined order. TheSortableItemcan be used to extract the user-defined objects.- Specified by:
getItemsin classSortedBase
-
getEnvelopeMap
-
iterator
- Specified by:
iteratorin interfaceIterable<OutputCenterInputSupplier>
-