public class QueuedDocumentSet
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
_rcsid |
protected IRepositoryConnection |
connection
The connection description that applies to this document set.
|
protected QueuedDocument[] |
documents
This is the array of QueuedDocument objects.
|
protected IJobDescription |
jobDescription
The job description that applies to this document set.
|
Constructor and Description |
---|
QueuedDocumentSet(java.util.List<QueuedDocument> documents,
IJobDescription jobDescription,
IRepositoryConnection connection)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
beginProcessing(QueueTracker queueTracker)
Log that we are beginning the processing of a set of documents
|
double |
calculateAssignmentRating(QueueTracker overlapCalculator)
Calculate a rating for this set.
|
void |
endProcessing(QueueTracker queueTracker)
Log that we are done processing a set of documents
|
IRepositoryConnection |
getConnection()
Get the connection.
|
int |
getCount()
Get the number of documents.
|
QueuedDocument |
getDocument(int index)
Get the nth document.
|
IJobDescription |
getJobDescription()
Get the job description.
|
public static final java.lang.String _rcsid
protected final QueuedDocument[] documents
protected final IJobDescription jobDescription
protected final IRepositoryConnection connection
public QueuedDocumentSet(java.util.List<QueuedDocument> documents, IJobDescription jobDescription, IRepositoryConnection connection)
documents
- is the arraylist representing the documents accumulated for a single connection.public int getCount()
public QueuedDocument getDocument(int index)
index
- is the document number.public void beginProcessing(QueueTracker queueTracker)
public void endProcessing(QueueTracker queueTracker)
public double calculateAssignmentRating(QueueTracker overlapCalculator)
overlapCalculator
- is the calculator object.public IJobDescription getJobDescription()
public IRepositoryConnection getConnection()