@Internal public class ESDeleteSpaceTask extends Object implements ESTask
Constructor and Description |
---|
ESDeleteSpaceTask(String spaceKey,
org.elasticsearch.client.Client client) |
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.
|
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.
|
String |
toString() |
public ESDeleteSpaceTask(String spaceKey, org.elasticsearch.client.Client client)
public void perform(ESIndexRequestProcessor processor)
ESTask
public Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntry
convertToJournalEntry
in interface ConvertibleToJournalEntry
journalId
- journal identifierpublic String getDescription()
IndexTask
getDescription
in interface IndexTask
public ESTask order(long order)
ESTask
Copyright © 2003–2018 Atlassian. All rights reserved.