Package org.apache.kafka.common.config
Class ConfigDef.CompositeValidator
java.lang.Object
org.apache.kafka.common.config.ConfigDef.CompositeValidator
- All Implemented Interfaces:
ConfigDef.Validator
- Enclosing class:
- ConfigDef
public static class ConfigDef.CompositeValidator extends Object implements ConfigDef.Validator
-
Method Summary
Modifier and Type Method Description void
ensureValid(String name, Object value)
Perform single configuration validation.static ConfigDef.CompositeValidator
of(ConfigDef.Validator... validators)
String
toString()
-
Method Details
-
of
-
ensureValid
Description copied from interface:ConfigDef.Validator
Perform single configuration validation.- Specified by:
ensureValid
in interfaceConfigDef.Validator
- Parameters:
name
- The name of the configurationvalue
- The value of the configuration
-
toString
-