@LuceneIndependent @Internal public class ReindexAllSpacesChangeIndexTask extends Object implements ConfluenceIndexTask
Constructor and Description |
---|
ReindexAllSpacesChangeIndexTask(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(SearchIndexWriter writer)
Executes this task against a document writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSearchIndexAccessor, perform
public ReindexAllSpacesChangeIndexTask(SpaceDao spaceDao, IndexTaskFactory indexTaskFactory)
public String getDescription()
IndexTask
getDescription
in interface IndexTask
public void perform(SearchIndexWriter writer)
ConfluenceIndexTask
perform
in interface ConfluenceIndexTask
public Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntry
convertToJournalEntry
in interface ConvertibleToJournalEntry
journalId
- journal identifierpublic SearchIndex getSearchIndex()
getSearchIndex
in interface ConfluenceIndexTask
SearchIndex
that the task should write toCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences