public static Set<String> getPropertyIds(Map<String, Map<String, PropertyInfo>> componentPropertyInfoMap ) {
    Set<String> propertyIds = new HashSet<>();

    for (Map.Entry<String, Map<String, PropertyInfo>> entry : componentPropertyInfoMap.entrySet()) {
      propertyIds.addAll(entry.getValue().keySet());
    }
    return propertyIds;
  }
Extract the set of property ids from a component PropertyInfo map.

@param componentPropertyInfoMap  the map

@return the set of property ids
ambari-server/src/main/java/org/apache/ambari/server/controller/utilities/PropertyHelper.java