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

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

public class DeleteEdgeTypeByUserDocumentIndexTask
extends Object
implements EdgeIndexTask


Constructor Summary
DeleteEdgeTypeByUserDocumentIndexTask(String edgeTypeKey, String targetId, com.atlassian.sal.api.user.UserKey userKey)
           
 
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

DeleteEdgeTypeByUserDocumentIndexTask

public DeleteEdgeTypeByUserDocumentIndexTask(String edgeTypeKey,
                                             String targetId,
                                             com.atlassian.sal.api.user.UserKey userKey)
Method Detail

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.

perform

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


Copyright © 2003–2015 Atlassian. All rights reserved.