class ConvertingServerGroup implements ServerGroup {

    @Override
    public String getName() {
        int separatorIndex = serverName.indexOf('-');
        if (separatorIndex > 0) {
            return serverName.substring(0, separatorIndex);
        }
        return serverName;
    }

    public  ConvertingServerGroup(ServerName serverName);

}