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() |
int |
hashCode() |
void |
perform(org.apache.lucene.index.IndexWriter writer) |
String |
toString() |
public DeleteDocumentIndexTask(String handle)
public DeleteDocumentIndexTask(com.atlassian.bonnie.Searchable target)
public String getDescription()
IndexTask
getDescription
in interface IndexTask
public void perform(org.apache.lucene.index.IndexWriter writer) throws IOException
perform
in interface com.atlassian.bonnie.ILuceneConnection.WriterAction
IOException
public Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntry
convertToJournalEntry
in interface ConvertibleToJournalEntry
journalId
- journal identifierpublic com.atlassian.bonnie.Handle getHandle()
getHandle
in interface HandleAware
Copyright © 2003–2021 Atlassian. All rights reserved.