public Collection<String> getConfigurationTypes(String service) {
    Set<String> serviceTypes = new HashSet<>(serviceConfigurations.get(service).keySet());
    serviceTypes.removeAll(getExcludedConfigurationTypes(service));

    return serviceTypes;
  }
Get configuration types for the specified service.
This doesn't include any service excluded types.

@param service  service name

@return collection of all configuration types for the specified service
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/Stack.java