private static ConfigurationPropertyType getConfigurationPropertyType(AmbariServerConfigurationKey configurationKey) {
    return (configurationKey == null) ? ConfigurationPropertyType.UNKNOWN : configurationKey.getConfigurationPropertyType();
  }
Returns the {@link ConfigurationPropertyType} for the specified Ambari Server configuration property

@param configurationKey a {@link AmbariServerConfigurationKey}
@return the type of the given category/property if such category/property
exists; {@link ConfigurationPropertyType#UNKNOWN} otherwise
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariServerConfigurationUtils.java