Package us.ajg0702.queue.api
Interface AliasManager
-
public interface AliasManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAlias(java.lang.String server)
Gets an alias from the server/group's namejava.lang.String
getServer(java.lang.String alias)
Gets the name of the server/group from an alias
-
-
-
Method Detail
-
getAlias
java.lang.String getAlias(java.lang.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
java.lang.String getServer(java.lang.String alias)
Gets the name of the server/group from an alias- Parameters:
alias
- The alias- Returns:
- The name of the server/group
-
-