public class AddChangeDocumentIndexTask extends Object implements ConfluenceIndexTask, HandleAware
Constructor and Description |
---|
AddChangeDocumentIndexTask(com.atlassian.bonnie.Searchable searchable,
com.atlassian.bonnie.search.DocumentBuilder changeDocumentBuilder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the task that can be presented to the user via the UI.
|
com.atlassian.bonnie.Handle |
getHandle() |
int |
hashCode() |
void |
perform(org.apache.lucene.index.IndexWriter writer) |
String |
toString() |
public AddChangeDocumentIndexTask(com.atlassian.bonnie.Searchable searchable, com.atlassian.bonnie.search.DocumentBuilder changeDocumentBuilder)
searchable
- a Versioned
searchablechangeDocumentBuilder
- instance of ChangeDocumentBuilder
IllegalArgumentException
- if searchable is invalid.public com.atlassian.bonnie.Handle getHandle()
getHandle
in interface HandleAware
public 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
Copyright © 2003–2015 Atlassian. All rights reserved.