public class ReindexUsersInGroupIndexTask extends Object implements ConfluenceIndexTask, HandleAware
| Constructor and Description |
|---|
ReindexUsersInGroupIndexTask(BatchOperationManager batchOperationManager,
PersonalInformationManager personalInformationManager,
UserAccessor userAccessor,
IndexTaskFactory indexTaskFactory,
String groupName) |
| 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.
|
com.atlassian.bonnie.Handle |
getHandle() |
void |
perform(org.apache.lucene.index.IndexWriter writer) |
public ReindexUsersInGroupIndexTask(BatchOperationManager batchOperationManager, PersonalInformationManager personalInformationManager, UserAccessor userAccessor, IndexTaskFactory indexTaskFactory, String groupName)
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 identifierpublic com.atlassian.bonnie.Handle getHandle()
getHandle in interface HandleAwareCopyright © 2003–2017 Atlassian. All rights reserved.