@Internal public class ESIndexChangeTask extends AbstractESTask
documentBuilder, order, searchableSupplier
Constructor and Description |
---|
ESIndexChangeTask(Supplier<com.atlassian.bonnie.Searchable> searchable,
ESDocumentBuilder changeDocumentBuilder) |
Modifier and Type | Method and Description |
---|---|
static String |
getChangeDocumentId(com.atlassian.bonnie.Searchable searchable) |
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
protected JournalEntryType |
getJournalEntryType() |
static String |
getOriginalId(com.atlassian.bonnie.Searchable searchable) |
void |
innerPerform(com.atlassian.bonnie.Searchable searchable,
ESIndexRequestProcessor processor) |
convertToJournalEntry, equals, getOrder, hashCode, order, perform, toString
public ESIndexChangeTask(Supplier<com.atlassian.bonnie.Searchable> searchable, ESDocumentBuilder changeDocumentBuilder)
public static String getChangeDocumentId(com.atlassian.bonnie.Searchable searchable)
public static String getOriginalId(com.atlassian.bonnie.Searchable searchable)
public void innerPerform(@Nonnull com.atlassian.bonnie.Searchable searchable, ESIndexRequestProcessor processor)
innerPerform
in class AbstractESTask
protected JournalEntryType getJournalEntryType()
getJournalEntryType
in class AbstractESTask
Copyright © 2003–2017 Atlassian. All rights reserved.