public class ReindexAllSpacesContentIndexTask extends Object implements ConfluenceIndexTask
| Constructor and Description |
|---|
ReindexAllSpacesContentIndexTask(SpaceDao spaceDao,
IndexTaskFactory indexTaskFactory) |
| Modifier and Type | Method and Description |
|---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
SearchIndex |
getSearchIndex() |
void |
perform(org.apache.lucene.index.IndexWriter writer) |
public ReindexAllSpacesContentIndexTask(SpaceDao spaceDao, IndexTaskFactory indexTaskFactory)
public String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic void perform(org.apache.lucene.index.IndexWriter writer)
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionpublic Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierpublic SearchIndex getSearchIndex()
getSearchIndex in interface ConfluenceIndexTaskSearchIndex that the task should write toCopyright © 2003–2021 Atlassian. All rights reserved.