@LuceneIndependent @Internal public class DeleteDocumentIndexTask extends Object implements ConfluenceIndexTask, HandleAware
| Constructor and Description |
|---|
DeleteDocumentIndexTask(com.atlassian.bonnie.Searchable target) |
DeleteDocumentIndexTask(String handle) |
| Modifier and Type | Method and Description |
|---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
boolean |
equals(Object o) |
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
com.atlassian.bonnie.Handle |
getHandle() |
SearchIndex |
getSearchIndex() |
int |
hashCode() |
void |
perform(SearchIndexWriter writer)
Executes this task against a document writer.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSearchIndexAccessor, performpublic DeleteDocumentIndexTask(String handle)
public DeleteDocumentIndexTask(com.atlassian.bonnie.Searchable target)
public String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic void perform(SearchIndexWriter writer) throws IOException
ConfluenceIndexTaskperform in interface ConfluenceIndexTaskIOExceptionpublic Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierpublic com.atlassian.bonnie.Handle getHandle()
getHandle in interface HandleAwarepublic SearchIndex getSearchIndex()
getSearchIndex in interface ConfluenceIndexTaskSearchIndex that the task should write toCopyright © 2003–2022 Atlassian. All rights reserved.