public class BulkWriteIndexTask extends Object implements ConfluenceIndexTask
Constructor and Description |
---|
BulkWriteIndexTask(List<ConfluenceIndexTask> writeIndexTasks) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
List<ConfluenceIndexTask> |
getWriteIndexTasks() |
void |
perform(org.apache.lucene.index.IndexWriter writer) |
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 List<ConfluenceIndexTask> getWriteIndexTasks()
Copyright © 2003–2015 Atlassian. All rights reserved.