public class AddDocumentIndexTask extends Object implements ConfluenceIndexTask, HandleAware
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log
Deprecated.
since 3.1, use private logger
|
| Constructor and Description |
|---|
AddDocumentIndexTask(com.atlassian.bonnie.Searchable searchable,
com.atlassian.bonnie.search.DocumentBuilder documentBuilder) |
| Modifier and Type | Method and Description |
|---|---|
Optional<JournalEntry> |
convertToJournalEntry(JournalIdentifier journalId)
Convert to journal entry.
|
boolean |
equals(Object o) |
String |
getDescription()
A human readable description of this index task.
|
com.atlassian.bonnie.Handle |
getHandle() |
int |
hashCode() |
void |
perform(org.apache.lucene.index.IndexWriter writer) |
@Deprecated public static final org.apache.log4j.Logger log
public AddDocumentIndexTask(com.atlassian.bonnie.Searchable searchable,
com.atlassian.bonnie.search.DocumentBuilder documentBuilder)
public void perform(org.apache.lucene.index.IndexWriter writer)
throws IOException
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterActionIOExceptionpublic Optional<JournalEntry> convertToJournalEntry(JournalIdentifier journalId)
ConvertibleToJournalEntryconvertToJournalEntry in interface ConvertibleToJournalEntryjournalId - journal identifierpublic String getDescription()
getDescription in interface IndexTaskpublic com.atlassian.bonnie.Handle getHandle()
getHandle in interface HandleAwareCopyright © 2003–2017 Atlassian. All rights reserved.