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>
        Parameters:
        parameterObject - The parameter object to pass. Should not be finalized.
        Returns:
        CommandTransion.SUCCESS by default, FAILURE if the parameter equals null.