com.atlassian.confluence.search.lucene.tasks
Class AddDocumentIndexTask
java.lang.Object
com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
com.atlassian.confluence.search.lucene.tasks.AddDocumentIndexTask
- All Implemented Interfaces:
- com.atlassian.bonnie.ILuceneConnection.WriterAction, ContentIndexTask, IndexTask
public class AddDocumentIndexTask
- extends BaseContentIndexTask
- implements com.atlassian.bonnie.ILuceneConnection.WriterAction
Field Summary |
static org.apache.log4j.Category |
LOG
|
Method Summary |
java.lang.String |
getDescription()
A human readable description of this index task. |
void |
perform(org.apache.lucene.index.IndexWriter writer)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
LOG
public static final org.apache.log4j.Category LOG
AddDocumentIndexTask
public AddDocumentIndexTask(com.atlassian.bonnie.Searchable target)
AddDocumentIndexTask
public AddDocumentIndexTask(java.lang.String handle)
throws java.text.ParseException
- Throws:
java.text.ParseException
perform
public void perform(org.apache.lucene.index.IndexWriter writer)
throws java.io.IOException
- Specified by:
perform
in interface com.atlassian.bonnie.ILuceneConnection.WriterAction
- Throws:
java.io.IOException
getDescription
public java.lang.String getDescription()
- A human readable description of this index task.
- Specified by:
getDescription
in interface IndexTask
- Returns:
- an readable message.
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.