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 writer) |
public static NoOpIndexTask getContentInstance()
public static NoOpIndexTask getChangeInstance()
@Deprecated public static NoOpIndexTask getInstance()
getChangeInstance()
or getContentInstance()
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 String getDescription()
IndexTask
getDescription
in interface IndexTask
public SearchIndex getSearchIndex()
getSearchIndex
in interface ConfluenceIndexTask
SearchIndex
that the task should write toCopyright © 2003–2021 Atlassian. All rights reserved.
View cookie preferences