@Override
  public Collection<String> getServices() {
    return componentsForService.keySet();
  }
Get the services which are deployed to this host group.

@return collection of services which have components in this host group
ambari-server/src/main/java/org/apache/ambari/server/topology/HostGroupImpl.java