com.atlassian.confluence.search.lucene.tasks
Class UpdateDocumentIndexTask
java.lang.Object
com.atlassian.confluence.search.lucene.tasks.UpdateDocumentIndexTask
- All Implemented Interfaces:
- ILuceneConnection.WriterAction, HandleAware, IndexTask, ConfluenceIndexTask
public class UpdateDocumentIndexTask
- extends Object
- implements ConfluenceIndexTask, HandleAware
UpdateDocumentIndexTask
public UpdateDocumentIndexTask(Searchable searchable,
IndexTaskFactory indexTaskFactory)
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 void perform(IndexWriter writer)
throws IOException
- Specified by:
perform
in interface ILuceneConnection.WriterAction
- Throws:
IOException
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getHandle
public Handle getHandle()
- Specified by:
getHandle
in interface HandleAware
- Returns:
- the handle