public class DeleteChangeDocumentsIndexTask extends Object implements ConfluenceIndexTask, HandleAware
| Constructor and Description |
|---|
DeleteChangeDocumentsIndexTask(com.atlassian.bonnie.Searchable searchable)
Creates a remove change documents index task for the latest version of searchable
|
DeleteChangeDocumentsIndexTask(String handle) |
| Modifier and Type | Method and Description |
|---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
boolean |
equals(Object obj) |
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(org.apache.lucene.index.IndexWriter writer) |
String |
toString() |
public DeleteChangeDocumentsIndexTask(com.atlassian.bonnie.Searchable searchable)
searchable - UnsupportedOperationException - if searchable is not supported.public DeleteChangeDocumentsIndexTask(String handle)
public com.atlassian.bonnie.Handle getHandle()
getHandle in interface HandleAwarepublic String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic void perform(org.apache.lucene.index.IndexWriter writer)
throws IOException
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionIOExceptionpublic Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierpublic SearchIndex getSearchIndex()
getSearchIndex in interface ConfluenceIndexTaskSearchIndex that the task should write toCopyright © 2003–2021 Atlassian. All rights reserved.