Package io.simplesource.api
Interface CommandAPISet
-
public interface CommandAPISet
-
-
Method Summary
Modifier and Type Method Description <K,C>
CommandAPI<K,C>getCommandAPI(String aggregateName)Provide access to the CommandAPI for any of the aggregates managed by this instance
-
-
-
Method Detail
-
getCommandAPI
<K,C> CommandAPI<K,C> getCommandAPI(String aggregateName)
Provide access to the CommandAPI for any of the aggregates managed by this instance- Type Parameters:
C- all commands for this aggregateK- the aggregate key- Parameters:
aggregateName- unique name of one of the aggregates- Returns:
- the aggregate matching the given name
-
-