Class CommandHandlerBuilder<K,​C,​E,​A>

  • Type Parameters:
    K - the aggregate key type
    C - all commands for this aggregate
    E - all events generated for this aggregate
    A - the aggregate type

    public final class CommandHandlerBuilder<K,​C,​E,​A>
    extends Object
    An builder for creating an CommandHandler that can handle several different commands types by adding one or more single command handlers.