public interface CommandAlias
Modifier and Type | Interface and Description |
---|---|
static class |
CommandAlias.DefaultCommandAlias
Default implementation of
CommandAlias . |
Modifier and Type | Method and Description |
---|---|
String |
getCommand()
Gets a command an alias.
|
String |
getGroup()
Get group for an alias.
|
static CommandAlias |
of(String command,
String group)
Gets an instance of a default
CommandAlias . |
String getCommand()
String getGroup()
static CommandAlias of(String command, String group)
CommandAlias
.command
- the commandgroup
- the groupCopyright © 2024. All rights reserved.