Package org.apache.kafka.common.config
Class ConfigDef.NonEmptyString
java.lang.Object
org.apache.kafka.common.config.ConfigDef.NonEmptyString
- All Implemented Interfaces:
ConfigDef.Validator
- Enclosing class:
- ConfigDef
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ensureValid
(String name, Object o) Perform single configuration validation.toString()
-
Constructor Details
-
NonEmptyString
public NonEmptyString()
-
-
Method Details
-
ensureValid
Description copied from interface:ConfigDef.Validator
Perform single configuration validation.- Specified by:
ensureValid
in interfaceConfigDef.Validator
- Parameters:
name
- The name of the configurationo
- The value of the configuration
-
toString
-