Class ApplicationUpdatedEventCommand
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.ApplicationUpdatedEventCommand
- All Implemented Interfaces:
Command<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,
,UserManagementInSyncModel> CommandCreator<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,
UserManagementInSyncModel>
public class ApplicationUpdatedEventCommand
extends Object
implements Command<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel>, CommandCreator<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel>
Command to process ApplicationUpdatedEvent
- Since:
- 9.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<Command<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,
UserManagementInSyncModel>> newCommand
(JournalEntry journalEntry) Create new command from a journal entry.Optional<Command<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,
UserManagementInSyncModel>> newCommand
(com.atlassian.crowd.event.application.ApplicationUpdatedEvent event) Create new command from an eventvoid
processEvent
(com.atlassian.crowd.event.application.ApplicationUpdatedEvent event, Object... parameters) Processing an event then serialize as one or manyJournalEntry
processJournalEntries
(Collection<JournalEntry> journalEntries) DeserializeJournalEntry
to JSON representable object
-
Constructor Details
-
ApplicationUpdatedEventCommand
-
-
Method Details
-
processEvent
public void processEvent(com.atlassian.crowd.event.application.ApplicationUpdatedEvent event, Object... parameters) Description copied from interface:Command
Processing an event then serialize as one or manyJournalEntry
- Specified by:
processEvent
in interfaceCommand<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,
UserManagementInSyncModel>
-
processJournalEntries
public Collection<UserManagementInSyncModel> processJournalEntries(Collection<JournalEntry> journalEntries) Description copied from interface:Command
DeserializeJournalEntry
to JSON representable object- Specified by:
processJournalEntries
in interfaceCommand<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,
UserManagementInSyncModel> - Returns:
-
newCommand
public Optional<Command<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel>> newCommand(com.atlassian.crowd.event.application.ApplicationUpdatedEvent event) Description copied from interface:CommandCreator
Create new command from an event- Specified by:
newCommand
in interfaceCommandCreator<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,
UserManagementInSyncModel> - Returns:
-
newCommand
public Optional<Command<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel>> newCommand(JournalEntry journalEntry) Description copied from interface:CommandCreator
Create new command from a journal entry. Concrete class should only return newCommand
if the journalEntry is suitable for thatCommand
- Specified by:
newCommand
in interfaceCommandCreator<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,
UserManagementInSyncModel> - Returns:
-