public class

DeleteDocumentIndexTask

extends Object
implements HandleAware ConfluenceIndexTask
java.lang.Object
   ↳ com.atlassian.confluence.search.lucene.tasks.DeleteDocumentIndexTask

Class Overview

Index task that removes a searchable from the index.

Summary

Public Constructors
DeleteDocumentIndexTask(String handle)
DeleteDocumentIndexTask(Searchable target)
Public Methods
boolean equals(Object o)
String getDescription()
A description of the task that can be presented to the user via the UI.
Handle getHandle()
int hashCode()
void perform(IndexWriter writer)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bonnie.ILuceneConnection.WriterAction
From interface com.atlassian.confluence.search.HandleAware
From interface com.atlassian.confluence.search.IndexTask

Public Constructors

public DeleteDocumentIndexTask (String handle)

public DeleteDocumentIndexTask (Searchable target)

Public Methods

public boolean equals (Object o)

public String getDescription ()

A description of the task that can be presented to the user via the UI.

Returns
  • an readable message.

public Handle getHandle ()

public int hashCode ()

public void perform (IndexWriter writer)

Throws
IOException