public Map<String, String> getGlobalProperties() {
      if(globalProperties == null) {
        return null;
      }
      Map<String, String> result = new HashMap<>();
      for (PrerequisiteProperty property : globalProperties) {
        result.put(property.name, property.value);
      }
      return result;
    }
Get global config properties as a map
@return Map of global config properties
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/UpgradePack.java