public class Command extends Object
| Constructor and Description |
|---|
Command(String title,
String command)
Construct a new
Command. |
Command(String title,
String command,
List<Object> arguments)
Construct a new
Command. |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getArguments()
The arguments of the command that should be invoked.
|
String |
getCommand()
The code of the command that should be invoked.
|
String |
getTitle()
The title of the command.
|
public Command(String title, String command)
Command.title - the title of the commandcommand - the code of the command that should be invoked