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.
-
-
Field Summary
Fields Modifier and Type Field Description protected QueuedDocument
document
protected boolean
scanOnly
-
Constructor Summary
Constructors Constructor Description DocumentToProcess(QueuedDocument document, boolean scanOnly)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueuedDocument
getDocument()
Get the document.boolean
getScanOnly()
Get the 'scan only' flag.
-
-
-
Field Detail
-
document
protected QueuedDocument document
-
scanOnly
protected boolean scanOnly
-
-
Constructor Detail
-
DocumentToProcess
public 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.
-
-
Method Detail
-
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.
-
-