public class AmbariServerConfigurationUtils extends Object
| Constructor and Description |
|---|
AmbariServerConfigurationUtils() |
public static AmbariServerConfigurationKey getConfigurationKey(String category, String propertyName)
AmbariServerConfigurationKeycategory - the name of the categorypropertyName - the name of the propertypublic static AmbariServerConfigurationKey getConfigurationKey(AmbariServerConfigurationCategory category, String propertyName)
AmbariServerConfigurationKeycategory - the AmbariServerConfigurationCategorypropertyName - the name of the propertypublic static ConfigurationPropertyType getConfigurationPropertyType(String category, String propertyName)
ConfigurationPropertyType for the specified Ambari Server configuration propertycategory - the name of the categorypropertyName - the name of the propertyConfigurationPropertyType.UNKNOWN otherwisepublic static ConfigurationPropertyType getConfigurationPropertyType(AmbariServerConfigurationCategory category, String propertyName)
ConfigurationPropertyType for the specified Ambari Server configuration propertycategory - the categorypropertyName - the name of the propertyConfigurationPropertyType.UNKNOWN otherwisepublic static String getConfigurationPropertyTypeName(AmbariServerConfigurationCategory category, String propertyName)
category - the name of the categorypropertyName - the name of the propertynull otherwisepublic static String getConfigurationPropertyTypeName(String category, String propertyName)
category - the name of the categorypropertyName - the name of the propertynull otherwisepublic static boolean isPassword(String category, String propertyName)
ConfigurationPropertyType.PASSWORDcategory - the name of the categorypropertyName - the name of the propertytrue in case the given property's type is
ConfigurationPropertyType.PASSWORD; false otherwisepublic static boolean isPassword(AmbariServerConfigurationCategory category, String propertyName)
ConfigurationPropertyType.PASSWORDcategory - the name of the categorypropertyName - the name of the propertytrue in case the given property's type is
ConfigurationPropertyType.PASSWORD; false otherwisepublic static boolean isPassword(AmbariServerConfigurationKey configurationKey)
ConfigurationPropertyType.PASSWORDconfigurationKey - the Ambari Server configiration keytrue in case the given property's type is
ConfigurationPropertyType.PASSWORD; false otherwiseCopyright © 2022 Apache Software Foundation. All rights reserved.