Class JournalEntryFactory
java.lang.Object
com.atlassian.confluence.search.queue.JournalEntryFactory
Journal Entry Factory creates JournalEntry instances to avoid boilerplate code in IndexTask classes
- Since:
- 5.10
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<JournalEntry>
createJournalEntry
(JournalIdentifier journalId, JournalEntryType journalEntryType, String message)
-
Constructor Details
-
JournalEntryFactory
public JournalEntryFactory()
-
-
Method Details
-
createJournalEntry
public static Optional<JournalEntry> createJournalEntry(JournalIdentifier journalId, JournalEntryType journalEntryType, String message) - Parameters:
journalId
-journalEntryType
-message
-- Returns:
- a JournalEntry.
-