public class RebuildChangeDocumentsIndexTask extends Object implements ConfluenceIndexTask, HandleAware
Constructor and Description |
---|
RebuildChangeDocumentsIndexTask(com.atlassian.bonnie.Searchable searchable,
ContentEntityObjectDao contentEntityObjectDao,
AttachmentManager attachmentManager,
IndexTaskFactory indexTaskFactory)
Constructs a rebuild change document index task.
|
public RebuildChangeDocumentsIndexTask(com.atlassian.bonnie.Searchable searchable, ContentEntityObjectDao contentEntityObjectDao, AttachmentManager attachmentManager, IndexTaskFactory indexTaskFactory)
searchable
- contentEntityObjectDao
- attachmentManager
- indexTaskFactory
- @throws IllegalArgumentException if searchable is null, fails
ChangeDocumentIndexPolicy.buildFor(Searchable)
or is not the
latest version.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.