Command Handler Class
public final class CommandHandlerClass<C extends AbstractCommandHandler> extends AbstractCommandHandlingClass<C, R, H>
Provides message handling information on a command handler class.
Parameters
<C>
the type of command handlers
Functions
Link copied to clipboard
public static CommandHandlerClass<C> asCommandHandlerClass<C extends AbstractCommandHandler>(Class<C> cls)
Obtains command handler class for the passed raw class.
Inherited functions
Link copied to clipboard
Obtains classes of all messages produced as a result of command handling.
Link copied to clipboard
protected static ModelClass<T> get<T, M extends ModelClass<T>>(Class<T> rawClass, Class<M> requestedModelClass, Supplier<ModelClass<T>> supplier)
Obtains the model class for the passed raw class.
Link copied to clipboard
Obtains the handler method for the passed command class.
Link copied to clipboard
Obtains classes of rejections that command handling methods of this class throw, or empty set if no rejections are thrown.