public class ReindexAllUsersIndexTask extends Object implements ConfluenceIndexTask
Only reindexes existing PersonalInformation objects. Skips creating entries for users without PersonalInformation objects.
| Constructor and Description |
|---|
ReindexAllUsersIndexTask(BatchOperationManager batchOperationManager,
PersonalInformationDao personalInformationDao,
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.
|
void |
perform(org.apache.lucene.index.IndexWriter writer) |
public ReindexAllUsersIndexTask(BatchOperationManager batchOperationManager, PersonalInformationDao personalInformationDao, IndexTaskFactory indexTaskFactory)
public String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic void perform(org.apache.lucene.index.IndexWriter writer)
throws IOException
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionIOExceptionpublic Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierCopyright © 2003–2021 Atlassian. All rights reserved.