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
  • Constructor Details

  • 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 many JournalEntry
    • 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 new Command if the journalEntry is suitable for that Command
      Returns: