@LuceneIndependent @Internal public class NoOpIndexTask extends Object implements ConfluenceIndexTask
| Modifier and Type | Method and Description |
|---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
static NoOpIndexTask |
getChangeInstance() |
static NoOpIndexTask |
getContentInstance() |
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
static NoOpIndexTask |
getInstance()
Deprecated.
since 7.9. use
getChangeInstance() or getContentInstance() |
SearchIndex |
getSearchIndex() |
void |
perform(org.apache.lucene.index.IndexWriter indexWriter) |
void |
perform(SearchIndexWriter writer)
Executes this task against a document writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSearchIndexAccessorpublic static NoOpIndexTask getContentInstance()
public static NoOpIndexTask getChangeInstance()
@Deprecated public static NoOpIndexTask getInstance()
getChangeInstance() or getContentInstance()public void perform(SearchIndexWriter writer) throws IOException
ConfluenceIndexTaskperform in interface ConfluenceIndexTaskIOExceptionpublic Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierpublic String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic SearchIndex getSearchIndex()
getSearchIndex in interface ConfluenceIndexTaskSearchIndex that the task should write topublic void perform(org.apache.lucene.index.IndexWriter indexWriter)
throws IOException
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionperform in interface ConfluenceIndexTaskIOExceptionCopyright © 2003–2022 Atlassian. All rights reserved.