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