Commander Class
public final class CommanderClass<C extends Commander> extends AbstractCommandHandlingClass<C, R, H> implements EventReceiverClass, CommandingClass
Provides information on message handling for a class of Commanders.
Parameters
<C>
the type of commanders
Functions
Link copied to clipboard
Link copied to clipboard
Obtains the method which reacts on the passed event class.
Link copied to clipboard
Link copied to clipboard
Obtains a set of domestic events which this class receives.
Link copied to clipboard
Obtains a set of external events which this class receives.
Link copied to clipboard
Obtains the classes of commands produced by this commanding class.
Link copied to clipboard
Tells if instances of this commander class produce commands in response to the passed event class.
Link copied to clipboard
Tells if instances of this commander class substitute the commands of the passed 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.