package seedu.taskell.logic.commands;


/**
 * Represents an incorrect command. Upon execution, produces some feedback to the user.
 */
public class IncorrectCommand extends Command {

    public final String feedbackToUser;

    public IncorrectCommand(String feedbackToUser){
        this.feedbackToUser = feedbackToUser;
    }

    @Override
    public CommandResult execute() {
        indicateAttemptToExecuteIncorrectCommand();
        return new CommandResult(feedbackToUser);
    }

}


@@ -178,16 +178,67 @@
 mand %7B%0A%0A
+    private static boolean isAddEditDeleteCommand;%0A
     publ
@@ -533,13 +533,209 @@
 );%0A    %7D
+%0A    %0A    public void setIsUndoableCommand(boolean value) %7B%0A        isAddEditDeleteCommand = value;%0A    %7D%0A    %0A    public boolean isUndoableCommand() %7B%0A        return isAddEditDeleteCommand;%0A    %7D
 %0A%0A%7D%0A%0A

add boolean to identify if command is undoable (add/delete/edit)