Package com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands
Class LabelAddCommand
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands.AbstractLabelCommand<LabelAddEvent>
com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands.LabelAddCommand
- All Implemented Interfaces:
Command<LabelAddEvent,
,ContentManagementIncSyncModel> CommandCreator<LabelAddEvent,
ContentManagementIncSyncModel>
A command to handle LabelAddEvent
- Since:
- 9.2.7
-
Field Summary
Fields inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands.AbstractLabelCommand
commandSupport, contentService, logger, spaceFilteringService
-
Constructor Summary
ConstructorsConstructorDescriptionLabelAddCommand
(ContentCommandSupport commandSupport, ContentService contentService, SpaceFilteringService spaceFilteringService) -
Method Summary
Modifier and TypeMethodDescriptionnewCommand
(LabelAddEvent event) Create new command from an eventMethods inherited from class com.atlassian.confluence.internal.api.impl.service.incrementalsync.contentmanagement.commands.AbstractLabelCommand
newCommand, processEvent, processJournalEntries, shouldProcess
-
Constructor Details
-
LabelAddCommand
public LabelAddCommand(ContentCommandSupport commandSupport, ContentService contentService, SpaceFilteringService spaceFilteringService)
-
-
Method Details
-
newCommand
public Optional<Command<LabelAddEvent,ContentManagementIncSyncModel>> newCommand(LabelAddEvent event) Description copied from interface:CommandCreator
Create new command from an event- Parameters:
event
-- Returns:
-