Class CommandEvent<M>

    • Constructor Detail

      • CommandEvent

        protected CommandEvent​(CommandContext<M> commandContext)
        Constructs a new command event with the given command context as payload.
        Parameters:
        commandContext - the command context, usually populated according to current phase
    • Method Detail

      • getCommandContext

        public CommandContext<M> getCommandContext()
        Returns the command context payload of this command event.
        Returns:
        the command context payload of this command event