@Internal public class ESIndexUsersInGroupTask extends Object implements ESTask
Constructor and Description |
---|
ESIndexUsersInGroupTask(String groupName,
ContentEntityObjectDao contentEntityObjectDao,
ESDocumentBuilder documentBuilder,
ESDocumentBuilder changeDocumentBuilder,
PersonalInformationManager personalInformationManager,
BatchOperationManager batchOperationManager,
UserAccessor userAccessor) |
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.
|
long |
getOrder() |
ESTask |
order(long order)
Set order of the task used for optimistic concurrency control
|
void |
perform(ESIndexRequestProcessor processor)
Perform this task with the specified ES Task processor.
|
public ESIndexUsersInGroupTask(String groupName, ContentEntityObjectDao contentEntityObjectDao, ESDocumentBuilder documentBuilder, ESDocumentBuilder changeDocumentBuilder, PersonalInformationManager personalInformationManager, BatchOperationManager batchOperationManager, UserAccessor userAccessor)
public Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntry
convertToJournalEntry
in interface ConvertibleToJournalEntry
journalId
- journal identifierpublic String getDescription()
IndexTask
getDescription
in interface IndexTask
public void perform(ESIndexRequestProcessor processor)
ESTask
public long getOrder()
Copyright © 2003–2017 Atlassian. All rights reserved.