Interface CommandAlias

All Known Implementing Classes:
CommandAlias.DefaultCommandAlias

public interface CommandAlias
Interface representing an alias in a command.
  • Method Details

    • getCommand

      String getCommand()
      Gets a command an alias.
      Returns:
      command
    • getGroup

      String getGroup()
      Get group for an alias.
      Returns:
      the group
    • of

      static CommandAlias of(String command, String group)
      Gets an instance of a default CommandAlias.
      Parameters:
      command - the command
      group - the group
      Returns:
      default command alias