com.atlassian.confluence.search.lucene.tasks
Class UnIndexSpaceIndexTask
java.lang.Object
com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
com.atlassian.confluence.search.lucene.tasks.UnIndexSpaceIndexTask
- All Implemented Interfaces:
- ContentIndexTask, ILuceneConnection.ReaderAction, IndexTask
- public class UnIndexSpaceIndexTask
- extends BaseContentIndexTask
- implements ILuceneConnection.ReaderAction
UnIndexSpaceIndexTask
public UnIndexSpaceIndexTask(Searchable target)
UnIndexSpaceIndexTask
protected UnIndexSpaceIndexTask(String handle)
throws ParseException
createHandle
protected Handle createHandle(String handle)
throws ParseException
- Description copied from class:
BaseContentIndexTask
- The default create handle implementation creates a handle that can be used to retrieve the searchable target
from the persistent store via the
AnyTypeObjectDao.findByHandle(handle);
- Overrides:
createHandle
in class BaseContentIndexTask
- Parameters:
handle
-
- Returns:
-
- Throws:
ParseException
createHandle
protected Handle createHandle(Searchable target)
- Overrides:
createHandle
in class BaseContentIndexTask
getDescription
public 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 Object perform(IndexReader reader)
throws IOException
- Specified by:
perform
in interface ILuceneConnection.ReaderAction
- Throws:
IOException