Class AbstractDefaultCommand<T>

    • Constructor Detail

      • AbstractDefaultCommand

        public AbstractDefaultCommand()
    • Method Detail

      • executeCommand

        public CommandTransition executeCommand​(T parameterObject)
        Executes the command and returns a CommandTransition as feedback. Implementation should save errors in the parameter object.
        Specified by:
        executeCommand in interface Command<T>
        parameterObject - The parameter object to pass. Should not be finalized.
        CommandTransion.SUCCESS by default, FAILURE if the parameter equals null.