Search in sources :

Example 1 with ConfigGroup

use of org.apache.hadoop.hdds.conf.ConfigGroup in project ozone by apache.

the class ConfigurationSubCommand method printConfig.

/**
 * Print all the configuration annotated on the class or any superclass.
 */
protected void printConfig(Class clazz, OzoneConfiguration conf) {
    ConfigGroup configGroup = (ConfigGroup) clazz.getAnnotation(ConfigGroup.class);
    if (configGroup == null) {
        return;
    }
    printConfig(configGroup, clazz, conf);
}
Also used : ConfigGroup(org.apache.hadoop.hdds.conf.ConfigGroup)

Aggregations

ConfigGroup (org.apache.hadoop.hdds.conf.ConfigGroup)1