Class AbstractCommand<T,​V>

  • All Implemented Interfaces:
    Command<T,​V>

    public abstract class AbstractCommand<T,​V>
    extends Object
    implements Command<T,​V>
    Base type for commands
    • Constructor Detail

      • AbstractCommand

        public AbstractCommand()
    • Method Detail

      • allow

        public CommandResult<V> allow​(T context)
        Description copied from interface: Command
        Check whether the command operation is allowed. Does not perform any update or mutation.
        Specified by:
        allow in interface Command<T,​V>