Class GroupCreatedEventCommand
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.GroupEventCommand<com.atlassian.crowd.event.group.GroupCreatedEvent>
com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.GroupCreatedEventCommand
- All Implemented Interfaces:
Command<com.atlassian.crowd.event.group.GroupCreatedEvent,,UserManagementInSyncModel> CommandCreator<com.atlassian.crowd.event.group.GroupCreatedEvent,UserManagementInSyncModel>
public class GroupCreatedEventCommand
extends GroupEventCommand<com.atlassian.crowd.event.group.GroupCreatedEvent>
Command class for
GroupCreatedEvent- Since:
- 9.3.0
-
Field Summary
Fields inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.GroupEventCommand
commandSupport, logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<Command<com.atlassian.crowd.event.group.GroupCreatedEvent,UserManagementInSyncModel>> newCommand(JournalEntry journalEntry) Create new command from a journal entry.Optional<Command<com.atlassian.crowd.event.group.GroupCreatedEvent,UserManagementInSyncModel>> newCommand(com.atlassian.crowd.event.group.GroupCreatedEvent event) Create new command from an eventvoidprocessEvent(com.atlassian.crowd.event.group.GroupCreatedEvent event, Object... parameters) Processing an event then serialize as one or manyJournalEntryMethods inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.usermanagement.commands.GroupEventCommand
processJournalEntries
-
Constructor Details
-
GroupCreatedEventCommand
-
-
Method Details
-
processEvent
public void processEvent(com.atlassian.crowd.event.group.GroupCreatedEvent event, Object... parameters) Description copied from interface:CommandProcessing an event then serialize as one or manyJournalEntry -
newCommand
public Optional<Command<com.atlassian.crowd.event.group.GroupCreatedEvent,UserManagementInSyncModel>> newCommand(com.atlassian.crowd.event.group.GroupCreatedEvent event) Description copied from interface:CommandCreatorCreate new command from an event- Returns:
-
newCommand
public Optional<Command<com.atlassian.crowd.event.group.GroupCreatedEvent,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- Returns:
-