Class CleanupQueuedDocument
- java.lang.Object
-
- org.apache.manifoldcf.crawler.system.DeleteQueuedDocument
-
- org.apache.manifoldcf.crawler.system.CleanupQueuedDocument
-
public class CleanupQueuedDocument extends DeleteQueuedDocument
This class represents a document that will be placed on the document cleanup queue, and will be processed by a cleanup worker thread.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
_rcsid
protected boolean
deleteFromIndex
Flag indicating whether we should delete the document from the index or not.-
Fields inherited from class org.apache.manifoldcf.crawler.system.DeleteQueuedDocument
documentDescription, wasProcessed
-
-
Constructor Summary
Constructors Constructor Description CleanupQueuedDocument(DocumentDescription documentDescription, boolean deleteFromIndex)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
shouldBeRemovedFromIndex()
Check if document should be removed from the index.-
Methods inherited from class org.apache.manifoldcf.crawler.system.DeleteQueuedDocument
getDocumentDescription, setProcessed, wasProcessed
-
-
-
-
Field Detail
-
_rcsid
public static final java.lang.String _rcsid
- See Also:
- Constant Field Values
-
deleteFromIndex
protected boolean deleteFromIndex
Flag indicating whether we should delete the document from the index or not.
-
-
Constructor Detail
-
CleanupQueuedDocument
public CleanupQueuedDocument(DocumentDescription documentDescription, boolean deleteFromIndex)
Constructor.- Parameters:
documentDescription
- is the document description.
-
-