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.2.6
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationUpdatedEventCommand(UserGroupCommandSupport commandSupport, SpaceFilteringService spaceFilteringService) -
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 eventvoidprocessEvent(com.atlassian.crowd.event.application.ApplicationUpdatedEvent event, Object... parameters) Processing an event then serialize as one or manyJournalEntryprocessJournalEntries(Collection<JournalEntry> journalEntries) DeserializeJournalEntryto JSON representable objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.internal.api.service.incrementalsync.CommandCreator
shouldProcess
-
Constructor Details
-
ApplicationUpdatedEventCommand
public ApplicationUpdatedEventCommand(UserGroupCommandSupport commandSupport, SpaceFilteringService spaceFilteringService)
-
-
Method Details
-
processEvent
public void processEvent(com.atlassian.crowd.event.application.ApplicationUpdatedEvent event, Object... parameters) Description copied from interface:CommandProcessing an event then serialize as one or manyJournalEntry- Specified by:
processEventin interfaceCommand<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel> - Parameters:
event-
-
processJournalEntries
public Collection<UserManagementInSyncModel> processJournalEntries(Collection<JournalEntry> journalEntries) Description copied from interface:CommandDeserializeJournalEntryto JSON representable object- Specified by:
processJournalEntriesin interfaceCommand<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel> - Parameters:
journalEntries-- Returns:
-
newCommand
public Optional<Command<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel>> newCommand(com.atlassian.crowd.event.application.ApplicationUpdatedEvent event) Description copied from interface:CommandCreatorCreate new command from an event- Specified by:
newCommandin interfaceCommandCreator<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel> - Parameters:
event-- Returns:
-
newCommand
public Optional<Command<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel>> newCommand(JournalEntry journalEntry) Description copied from interface:CommandCreatorCreate new command from a journal entry. Concrete class should only return newCommandif the journalEntry is suitable for thatCommand- Specified by:
newCommandin interfaceCommandCreator<com.atlassian.crowd.event.application.ApplicationUpdatedEvent,UserManagementInSyncModel> - Parameters:
journalEntry-- Returns:
-