public Map<String, String> getCheckProperties(String checkName) {
      if(prerequisiteCheckProperties == null) {
        return null;
      }
      for(PrerequisiteCheckProperties checkProperties : prerequisiteCheckProperties) {
        if(checkProperties.name.equalsIgnoreCase(checkName)) {
          return checkProperties.getProperties();
        }
      }
      return null;
    }
Get config properties for a given prerequisite check as a map
@param checkName The prerequisite check name
@return Map of config properties for the prerequisite check
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/UpgradePack.java