Interface AliasManager


public interface AliasManager
  • Method Summary

    Modifier and Type
    Method
    Description
    getAlias(String server)
    Gets an alias from the server/group's name
    Gets the name of the server/group from an alias
  • Method Details

    • getAlias

      String getAlias(String server)
      Gets an alias from the server/group's name
      Parameters:
      server - The original name of the server
      Returns:
      The set alias (set in the config)
    • getServer

      String getServer(String alias)
      Gets the name of the server/group from an alias
      Parameters:
      alias - The alias
      Returns:
      The name of the server/group