Interface EdgeIndexTask
- All Superinterfaces:
ConfluenceIndexTask
,ConvertibleToJournalEntry
,IndexTask
- All Known Implementing Classes:
AddEdgeDocumentIndexTask
,DeleteEdgeDocumentIndexTask
,DeleteEdgeTargetingDocumentIndexTask
,DeleteEdgeTypeByUserDocumentIndexTask
,RebuildIndexTask
,ReIndexPermissionsIndexTask
This interface is the same as the
ConfluenceIndexTask
.
The reason why it exists is to make it clear that the task is for an edge index.- Since:
- 7.17
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<JournalEntry>
convertToJournalEntry
(JournalIdentifier journalIdentifier) This default method returns an emptyOptional
object because an index task for an edge will be serialised and stored as the entry message when being queued.Methods inherited from interface com.atlassian.confluence.search.ConfluenceIndexTask
getSearchIndex, perform
Methods inherited from interface com.atlassian.confluence.search.IndexTask
getDescription
-
Method Details
-
convertToJournalEntry
This default method returns an emptyOptional
object because an index task for an edge will be serialised and stored as the entry message when being queued.The entry message is de-serialised to the task later when the task is about to perform.
- Specified by:
convertToJournalEntry
in interfaceConvertibleToJournalEntry
- Parameters:
journalIdentifier
- the journal identifier- Returns:
- an empty
Optional
-