com.atlassian.confluence.search.lucene.tasks
Class DeleteDocumentIndexTask
java.lang.Object
com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
com.atlassian.confluence.search.lucene.tasks.DeleteDocumentIndexTask
- All Implemented Interfaces:
- com.atlassian.bonnie.ILuceneConnection.ReaderAction, ContentIndexTask, IndexTask
public class DeleteDocumentIndexTask
- extends BaseContentIndexTask
- implements com.atlassian.bonnie.ILuceneConnection.ReaderAction
Method Summary |
java.lang.String |
getDescription()
A description of the task that can be presented to the user via the UI. |
java.lang.Object |
perform(org.apache.lucene.index.IndexReader reader)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DeleteDocumentIndexTask
public DeleteDocumentIndexTask(com.atlassian.bonnie.Searchable target)
DeleteDocumentIndexTask
public DeleteDocumentIndexTask(java.lang.String handle)
throws java.text.ParseException
- Throws:
java.text.ParseException
getDescription
public java.lang.String getDescription()
- Description copied from interface:
IndexTask
- A description of the task that can be presented to the user via the UI.
- Specified by:
getDescription
in interface IndexTask
- Returns:
- an readable message.
perform
public java.lang.Object perform(org.apache.lucene.index.IndexReader reader)
throws java.io.IOException
- Specified by:
perform
in interface com.atlassian.bonnie.ILuceneConnection.ReaderAction
- Throws:
java.io.IOException
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.