public class UnIndexSpaceIndexTask extends Object implements ConfluenceIndexTask, HandleAware
| Modifier and Type | Class and Description |
|---|---|
static class |
UnIndexSpaceIndexTask.SpaceKeyHandle
The spaceKey is sufficient to serve as the handle for spaces stored in the index.
|
| Constructor and Description |
|---|
UnIndexSpaceIndexTask(String spaceKey) |
| 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) |
public UnIndexSpaceIndexTask(String spaceKey)
spaceKey - the spaceKey for the space being unindexedpublic 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 com.atlassian.bonnie.Handle getHandle()
getHandle in interface HandleAwareCopyright © 2003–2018 Atlassian. All rights reserved.