Interface CommandAlias
- All Known Implementing Classes:
CommandAlias.DefaultCommandAlias
public interface CommandAlias
Interface representing an alias in a command.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets a command an alias.getGroup()
Get group for an alias.static CommandAlias
Gets an instance of a defaultCommandAlias
.
-
Method Details
-
getCommand
String getCommand()Gets a command an alias.- Returns:
- command
-
getGroup
String getGroup()Get group for an alias.- Returns:
- the group
-
of
Gets an instance of a defaultCommandAlias
.- Parameters:
command
- the commandgroup
- the group- Returns:
- default command alias
-