public interface Command
Modifier and Type | Method and Description |
---|---|
boolean |
allArguments()
Returns whether all remaining commands should be included as arguments.
|
void |
execute(java.lang.String args)
Executes the command with the given arguments.
|
java.lang.String |
getCommandName()
Returns the name of the command.
|
boolean allArguments()
void execute(@NotNull java.lang.String args)
args
- the command arguments@NotNull java.lang.String getCommandName()