public static interface ConfigDef.Recommender
ConfigDef.validate(Map)
to get valid values for a configuration given the current
configuration values in order to perform full configuration validation and visibility modification.
In case that there are dependencies between configurations, the valid values and visibility
for a configuration may change given the values of other configurations.Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.Object> |
validValues(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> parsedConfig)
The valid values for the configuration given the current configuration values.
|
boolean |
visible(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> parsedConfig)
Set the visibility of the configuration given the current configuration values.
|
java.util.List<java.lang.Object> validValues(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> parsedConfig)
name
- The name of the configurationparsedConfig
- The parsed configuration valuesboolean visible(java.lang.String name, java.util.Map<java.lang.String,java.lang.Object> parsedConfig)
name
- The name of the configurationparsedConfig
- The parsed configuration values