Interface EdgeIndexTask
-
- All Superinterfaces:
ConfluenceIndexTask
,ConvertibleToJournalEntry
,IndexTask
- All Known Implementing Classes:
AddEdgeDocumentIndexTask
,DeleteEdgeDocumentIndexTask
,DeleteEdgeTargetingDocumentIndexTask
,DeleteEdgeTypeByUserDocumentIndexTask
,ReIndexPermissionsIndexTask
public interface EdgeIndexTask extends ConfluenceIndexTask
This interface is the same as theConfluenceIndexTask
. The reason why it exists is to make it clear that the task is for an edge index.- Since:
- 7.17
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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 Detail
-
convertToJournalEntry
default 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.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
-
-