public Map<String, String> getAllProperties() {
      Map<String, String> properties = new HashMap<>();
      if( null != globalProperties ) {
        for (PrerequisiteProperty property : globalProperties) {
          properties.put(property.name, property.value);
        }
      }

      if (null != prerequisiteCheckProperties) {
        for(PrerequisiteCheckProperties checkProperties : prerequisiteCheckProperties) {
            properties.putAll(checkProperties.getProperties());
        }
      }

      return properties;
    }
Gets a mashup of all check properties, including global ones.

@return a map of all check properties defined in the upgrade pack.
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/UpgradePack.java