public interface Configurable
Configuration
objects. Can handle both plain JSON and Ambari style
flattened JSON such as "hdfs-site/properties/dfs.replication": "3"
. Objects may implement this interface or
call its static utility methods.Modifier and Type | Field and Description |
---|---|
static String |
CONFIGURATIONS |
Modifier and Type | Method and Description |
---|---|
default Collection<Map<String,Map<String,?>>> |
getConfigs() |
Configuration |
getConfiguration() |
default void |
setConfigs(Collection<? extends Map<String,?>> configs) |
void |
setConfiguration(Configuration configuration) |
static final String CONFIGURATIONS
void setConfiguration(Configuration configuration)
Configuration getConfiguration()
default void setConfigs(Collection<? extends Map<String,?>> configs)
default Collection<Map<String,Map<String,?>>> getConfigs()
Copyright © 2022 Apache Software Foundation. All rights reserved.