@Deprecated public class BulkWriteIndexTask extends Object implements ConfluenceIndexTask
Constructor and Description |
---|
BulkWriteIndexTask(List<ConfluenceIndexTask> writeIndexTasks)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Deprecated.
Convert to journal entry.
|
String |
getDescription()
Deprecated.
A description of the task that can be presented to the user via the UI.
|
SearchIndex |
getSearchIndex()
Deprecated.
|
List<ConfluenceIndexTask> |
getWriteIndexTasks()
Deprecated.
|
void |
perform(org.apache.lucene.index.IndexWriter writer)
Deprecated.
|
public BulkWriteIndexTask(List<ConfluenceIndexTask> writeIndexTasks)
writeIndexTasks
- writer index tasks. Required.IllegalArgumentException
- when writeIndexTasks is nullIllegalArgumentException
- when all writeIndexTasks do not have the same SearchIndexpublic 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 List<ConfluenceIndexTask> getWriteIndexTasks()
public SearchIndex getSearchIndex()
getSearchIndex
in interface ConfluenceIndexTask
SearchIndex
that the task should write toCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences