com.atlassian.confluence.search.lucene.tasks
Class AddDocumentIndexTask

java.lang.Object
  extended bycom.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
      extended bycom.atlassian.confluence.search.lucene.tasks.AddDocumentIndexTask
All Implemented Interfaces:
ContentIndexTask, ILuceneConnection.WriterAction, IndexTask

public class AddDocumentIndexTask
extends BaseContentIndexTask
implements ILuceneConnection.WriterAction


Field Summary
static org.apache.log4j.Category LOG
           
 
Fields inherited from class com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
anyTypeObjectDao, documentBuilder, handle, spaceKey, target
 
Constructor Summary
AddDocumentIndexTask(Searchable target)
           
AddDocumentIndexTask(String handle)
           
 
Method Summary
 String getDescription()
          A human readable description of this index task.
 void perform(IndexWriter writer)
           
 
Methods inherited from class com.atlassian.confluence.search.lucene.tasks.BaseContentIndexTask
createHandle, createHandle, equals, getHandle, getTarget, hashCode, setAnyTypeObjectDao, setDocumentBuilder, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Category LOG
Constructor Detail

AddDocumentIndexTask

public AddDocumentIndexTask(Searchable target)

AddDocumentIndexTask

public AddDocumentIndexTask(String handle)
                     throws ParseException
Method Detail

perform

public void perform(IndexWriter writer)
             throws IOException
Specified by:
perform in interface ILuceneConnection.WriterAction
Throws:
IOException

getDescription

public String getDescription()
A human readable description of this index task.

Specified by:
getDescription in interface IndexTask
Returns:
an readable message.


Confluence is developed by Atlassian.