org.apache.manifoldcf.crawler.system
Class WorkerThread.DocumentToProcess
java.lang.Object
org.apache.manifoldcf.crawler.system.WorkerThread.DocumentToProcess
- Enclosing class:
- WorkerThread
protected static class WorkerThread.DocumentToProcess
- extends java.lang.Object
Class that represents a decision to process a document.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
document
protected QueuedDocument document
scanOnly
protected boolean scanOnly
WorkerThread.DocumentToProcess
public WorkerThread.DocumentToProcess(QueuedDocument document,
boolean scanOnly)
- Construct.
- Parameters:
document - is the document to process.scanOnly - is true if the document should be scanned, but not ingested.
getDocument
public QueuedDocument getDocument()
- Get the document.
- Returns:
- the document.
getScanOnly
public boolean getScanOnly()
- Get the 'scan only' flag.
- Returns:
- true if only scan should be attempted.