public class SimpleCommandFactory<T> extends java.lang.Object implements CommandFactory<T>
| Constructor and Description |
|---|
SimpleCommandFactory(java.lang.String topic,
java.util.function.Function<T,Key> keyMapper,
java.util.function.Function<T,Payload> payloadMapper) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Command> |
deleteEventsFor(java.lang.String entityId) |
java.util.List<Command> |
putEventsFor(T entity) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpatchEventsForpublic java.util.List<Command> putEventsFor(T entity)
putEventsFor in interface CommandFactory<T>public java.util.List<Command> deleteEventsFor(java.lang.String entityId)
deleteEventsFor in interface CommandFactory<T>