Class AddEdgeDocumentIndexTask
- java.lang.Object
-
- com.atlassian.confluence.plugins.edgeindex.tasks.AddEdgeDocumentIndexTask
-
- All Implemented Interfaces:
EdgeIndexTask,ConfluenceIndexTask,ConvertibleToJournalEntry,IndexTask
public class AddEdgeDocumentIndexTask extends Object implements EdgeIndexTask
- Since:
- 7.17
-
-
Constructor Summary
Constructors Constructor Description AddEdgeDocumentIndexTask(AtlassianDocument document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()A description of the task that can be presented to the user via the UI.SearchIndexgetSearchIndex()voidperform(SearchIndexWriter writer)Executes this task against a document writer.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.plugins.edgeindex.EdgeIndexTask
convertToJournalEntry
-
-
-
-
Constructor Detail
-
AddEdgeDocumentIndexTask
public AddEdgeDocumentIndexTask(AtlassianDocument document)
-
-
Method Detail
-
getSearchIndex
public SearchIndex getSearchIndex()
- Specified by:
getSearchIndexin interfaceConfluenceIndexTask- Returns:
- the
SearchIndexthat the task should write to
-
perform
public void perform(SearchIndexWriter writer) throws IOException
Description copied from interface:ConfluenceIndexTaskExecutes this task against a document writer.- Specified by:
performin interfaceConfluenceIndexTask- Throws:
IOException
-
getDescription
public String getDescription()
Description copied from interface:IndexTaskA description of the task that can be presented to the user via the UI.- Specified by:
getDescriptionin interfaceIndexTask- Returns:
- an readable message.
-
-