private String getPropertyValue(UpgradeCheckRequest request, String propertyKey){
    String value = null;
    Map<String, String> checkProperties = request.getCheckConfigurations();

    if(checkProperties != null && checkProperties.containsKey(propertyKey)) {
      value = checkProperties.get(propertyKey);
    }
    return value;
  }
Obtain property value specified in the upgrade XML
@return service name
ambari-server/src/main/java/org/apache/ambari/server/checks/ServicePresenceCheck.java