@Internal public class ESIndexTask extends AbstractESTask
anyTypeDao, documentBuilder, handle, order
Constructor and Description |
---|
ESIndexTask(HibernateHandle handle,
AnyTypeDao anyTypeDao,
ESDocumentBuilder documentBuilder) |
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(ESIndexRequestProcessor processor)
Perform this task with the specified ES Task processor.
|
equals, getOrder, getSearchable, hashCode, setOrder, toString
public ESIndexTask(HibernateHandle handle, AnyTypeDao anyTypeDao, ESDocumentBuilder documentBuilder)
public String getDescription()
IndexTask
public void perform(ESIndexRequestProcessor processor)
ESTask
processor
- a bulk processorpublic Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntry
journalId
- journal identifierCopyright © 2003–2015 Atlassian. All rights reserved.