public class ContentIndexTask extends Object implements ConfluenceIndexTask
| Constructor and Description |
|---|
ContentIndexTask(List<ContentType> contentTypes,
List<ContentStatus> contentStatuses,
JournalEntryType journalEntryType,
PageDao pageDao,
BatchOperationManager batchOperationManager,
IndexTaskFactory indexTaskFactory) |
| Modifier and Type | Method and Description |
|---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
void |
perform(org.apache.lucene.index.IndexWriter writer) |
public ContentIndexTask(List<ContentType> contentTypes, List<ContentStatus> contentStatuses, JournalEntryType journalEntryType, PageDao pageDao, BatchOperationManager batchOperationManager, IndexTaskFactory indexTaskFactory)
public final void perform(org.apache.lucene.index.IndexWriter writer)
throws IOException
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionIOExceptionpublic final String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic final Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierCopyright © 2003–2017 Atlassian. All rights reserved.