Package commands
Class AddCommand
java.lang.Object
commands.AddCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
AddCommandGui
public class AddCommand extends java.lang.Object implements Command
Command which adds a new task.
- Author:
- Melvin Campos Casares
-
Constructor Summary
Constructors Constructor Description AddCommand()
-
Method Summary
Modifier and Type Method Description java.lang.String
description()
void
execute()
static java.lang.String
usage()
-
Constructor Details
-
AddCommand
public AddCommand()
-
-
Method Details
-
description
public java.lang.String description()- Specified by:
description
in interfaceCommand
-
execute
public void execute() -
usage
public static java.lang.String usage()
-