public class

DeleteChangeDocumentsIndexTask

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

Class Overview

Removes all change documents for a particular searchable.

Summary

Public Constructors
DeleteChangeDocumentsIndexTask(Searchable searchable)
Creates a remove change documents index task for the latest version of searchable
DeleteChangeDocumentsIndexTask(String handle)
Public Methods
boolean equals(Object obj)
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 DeleteChangeDocumentsIndexTask (Searchable searchable)

Creates a remove change documents index task for the latest version of searchable

Throws
UnsupportedOperationException if searchable is not supported.

public DeleteChangeDocumentsIndexTask (String handle)

Public Methods

public boolean equals (Object obj)

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