public class UnindexContentTypeIndexTask extends Object implements ConfluenceIndexTask
| Constructor and Description |
|---|
UnindexContentTypeIndexTask(String contentType) |
| 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.
|
void |
perform(org.apache.lucene.index.IndexWriter indexWriter) |
public UnindexContentTypeIndexTask(String contentType)
public Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierpublic String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic void perform(org.apache.lucene.index.IndexWriter indexWriter)
throws IOException
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionIOExceptionCopyright © 2003–2016 Atlassian. All rights reserved.