T
- the aggregate classCT
- the aggregate's command classpublic interface CommandProcessingAggregate<T extends CommandProcessingAggregate,CT extends Command> extends Aggregate<T>
Modifier and Type | Method and Description |
---|---|
java.util.List<Event> |
processCommand(CT cmd)
Process a command by returning events
|
applyEvent