org.apache.manifoldcf.crawler.system
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 |
static java.lang.String |
_rcsid
|
protected boolean |
deleteFromIndex
Flag indicating whether we should delete the document from the index or not. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_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.
CleanupQueuedDocument
public CleanupQueuedDocument(DocumentDescription documentDescription,
boolean deleteFromIndex)
- Constructor.
- Parameters:
documentDescription - is the document description.
shouldBeRemovedFromIndex
public boolean shouldBeRemovedFromIndex()
- Check if document should be removed from the index.
- Returns:
- true if it should be removed.