public class ReindexAllBlogsIndexTask extends Object implements ConfluenceIndexTask
Constructor and Description |
---|
ReindexAllBlogsIndexTask(IndexTaskFactory indexTaskFactory,
BatchOperationManager batchOperationManager) |
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.
|
void |
perform(org.apache.lucene.index.IndexWriter writer) |
public ReindexAllBlogsIndexTask(IndexTaskFactory indexTaskFactory, BatchOperationManager batchOperationManager)
public void perform(org.apache.lucene.index.IndexWriter writer)
perform
in interface com.atlassian.bonnie.ILuceneConnection.WriterAction
public String getDescription()
IndexTask
getDescription
in interface IndexTask
public Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntry
convertToJournalEntry
in interface ConvertibleToJournalEntry
journalId
- journal identifierCopyright © 2003–2021 Atlassian. All rights reserved.