@Internal public class ESIndexAllUsersTask extends Object implements ESTask
Constructor and Description |
---|
ESIndexAllUsersTask(ContentEntityObjectDao contentEntityObjectDao,
ESDocumentBuilder documentBuilder,
ESDocumentBuilder changeDocumentBuilder,
PersonalInformationDao personalInformationDao,
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.
|
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 ESIndexAllUsersTask(ContentEntityObjectDao contentEntityObjectDao, ESDocumentBuilder documentBuilder, ESDocumentBuilder changeDocumentBuilder, PersonalInformationDao personalInformationDao, BatchOperationManager batchOperationManager)
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.