Class DeleteDocumentIndexTask
java.lang.Object
com.atlassian.confluence.internal.search.tasks.DeleteDocumentIndexTask
- All Implemented Interfaces:
- ConfluenceIndexTask,- ConvertibleToJournalEntry,- HandleAware,- IndexTask
@LuceneIndependent
@Internal
public class DeleteDocumentIndexTask
extends Object
implements ConfluenceIndexTask, HandleAware
Index task that removes a searchable from the content index.
- 
Constructor SummaryConstructorsConstructorDescriptionDeleteDocumentIndexTask(Searchable target) DeleteDocumentIndexTask(String handle) 
- 
Method SummaryModifier and TypeMethodDescriptionconvertToJournalEntry(JournalIdentifier journalId) Convert to journal entry.booleanA description of the task that can be presented to the user via the UI.inthashCode()booleanvoidperform(SearchIndexWriter writer) Executes this task against a document writer.toString()
- 
Constructor Details- 
DeleteDocumentIndexTask
- 
DeleteDocumentIndexTask
 
- 
- 
Method Details- 
getDescriptionDescription copied from interface:IndexTaskA description of the task that can be presented to the user via the UI.- Specified by:
- getDescriptionin interface- IndexTask
- Returns:
- an readable message.
 
- 
performDescription copied from interface:ConfluenceIndexTaskExecutes this task against a document writer.- Specified by:
- performin interface- ConfluenceIndexTask
- Throws:
- IOException
 
- 
isRetryablepublic boolean isRetryable()- Specified by:
- isRetryablein interface- ConfluenceIndexTask
- Returns:
- trueif this task is retryable in journal queue,- falseotherwise.
 
- 
convertToJournalEntryDescription copied from interface:ConvertibleToJournalEntryConvert to journal entry.- Specified by:
- convertToJournalEntryin interface- ConvertibleToJournalEntry
- Parameters:
- journalId- journal identifier
- Returns:
- an optional containing a journal entry or empty if this cannot be converted.
 
- 
equals
- 
hashCodepublic int hashCode()
- 
getHandle- Specified by:
- getHandlein interface- HandleAware
- Returns:
- the handle
 
- 
toString
- 
getSearchIndex- Specified by:
- getSearchIndexin interface- ConfluenceIndexTask
- Returns:
- the SearchIndexthat the task should write to
 
 
-