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 eventvoid
processEvent
(com.atlassian.crowd.event.group.GroupCreatedEvent event, Object... parameters) Processing an event then serialize as one or manyJournalEntry
Methods 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:Command
Processing 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:CommandCreator
Create new command from an event- Returns:
-
newCommand
public Optional<Command<com.atlassian.crowd.event.group.GroupCreatedEvent,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
- Returns:
-