com.atlassian.confluence.plugins.edgeindex.lucene.tasks
Class AddEdgeDocumentIndexTask

java.lang.Object
  extended by com.atlassian.confluence.plugins.edgeindex.lucene.tasks.AddEdgeDocumentIndexTask
All Implemented Interfaces:
com.atlassian.bonnie.ILuceneConnection.WriterAction, EdgeIndexTask, IndexTask

public class AddEdgeDocumentIndexTask
extends Object
implements EdgeIndexTask


Constructor Summary
AddEdgeDocumentIndexTask(org.apache.lucene.document.Document document)
           
 
Method Summary
 String getDescription()
          A description of the task that can be presented to the user via the UI.
 void perform(org.apache.lucene.index.IndexWriter writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddEdgeDocumentIndexTask

public AddEdgeDocumentIndexTask(org.apache.lucene.document.Document document)
Method Detail

perform

public void perform(org.apache.lucene.index.IndexWriter writer)
             throws IOException
Specified by:
perform in interface com.atlassian.bonnie.ILuceneConnection.WriterAction
Throws:
IOException

getDescription

public String getDescription()
Description copied from interface: IndexTask
A description of the task that can be presented to the user via the UI.

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


Copyright © 2003–2015 Atlassian. All rights reserved.