Class CommandFactoryImpl<M extends IncrementalSyncModel>
java.lang.Object
com.atlassian.confluence.internal.api.impl.service.incrementalsync.CommandFactoryImpl<M>
- All Implemented Interfaces:
CommandFactory<M>
- Direct Known Subclasses:
ContentCommandFactoryImpl
public class CommandFactoryImpl<M extends IncrementalSyncModel>
extends Object
implements CommandFactory<M>
Factory class responsible for creating and managing instances of event processing commands
- Since:
- 9.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCommand
(JournalEntry journalEntry) Create aCommand
based on input journal entrycreateCommand
(Class<?> eventClass, T event) Create aCommand
based on input eventprotected Collection<CommandCreator<?,
M>>
-
Constructor Details
-
CommandFactoryImpl
-
-
Method Details
-
createCommand
Description copied from interface:CommandFactory
Create aCommand
based on input event- Specified by:
createCommand
in interfaceCommandFactory<M extends IncrementalSyncModel>
- Returns:
-
createCommand
Description copied from interface:CommandFactory
Create aCommand
based on input journal entry- Specified by:
createCommand
in interfaceCommandFactory<M extends IncrementalSyncModel>
- Returns:
-
getCommandCreators
-