protected static class WorkerThread.DocumentToProcess
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected QueuedDocument |
document |
protected boolean |
scanOnly |
Constructor and Description |
---|
DocumentToProcess(QueuedDocument document,
boolean scanOnly)
Construct.
|
Modifier and Type | Method and Description |
---|---|
QueuedDocument |
getDocument()
Get the document.
|
boolean |
getScanOnly()
Get the 'scan only' flag.
|
protected QueuedDocument document
protected boolean scanOnly
public DocumentToProcess(QueuedDocument document, boolean scanOnly)
document
- is the document to process.scanOnly
- is true if the document should be scanned, but not ingested.public QueuedDocument getDocument()
public boolean getScanOnly()