@LuceneIndependent @Internal public class ContentIndexTask extends Object implements ConfluenceIndexTask
| Constructor and Description |
|---|
ContentIndexTask(List<ContentType> contentTypes,
List<ContentStatus> contentStatuses,
JournalEntryType journalEntryType,
PageDaoInternal 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.
|
SearchIndex |
getSearchIndex() |
void |
perform(SearchIndexWriter writer)
Executes this task against a document writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSearchIndexAccessor, performpublic ContentIndexTask(List<ContentType> contentTypes, List<ContentStatus> contentStatuses, JournalEntryType journalEntryType, PageDaoInternal pageDao, BatchOperationManager batchOperationManager, IndexTaskFactory indexTaskFactory)
public final void perform(SearchIndexWriter writer) throws IOException
ConfluenceIndexTaskperform in interface ConfluenceIndexTaskIOExceptionpublic final String getDescription()
IndexTaskgetDescription in interface IndexTaskpublic final Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierpublic SearchIndex getSearchIndex()
getSearchIndex in interface ConfluenceIndexTaskSearchIndex that the task should write toCopyright © 2003–2022 Atlassian. All rights reserved.