Interface CommandFactory<M extends IncrementalSyncModel>
- All Known Subinterfaces:
ContentCommandFactory
- All Known Implementing Classes:
CommandFactoryImpl
,ContentCommandFactoryImpl
public interface CommandFactory<M extends IncrementalSyncModel>
Common interface for
Command
creation- Since:
- 9.3.0
-
Method Summary
Modifier and TypeMethodDescriptioncreateCommand
(JournalEntry journalEntry) Create aCommand
based on input journal entrycreateCommand
(Class<?> eventClass, T event) Create aCommand
based on input event