@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.
|
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 nullpublic 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()
Copyright © 2003–2020 Atlassian. All rights reserved.