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
public static class ConfigDef.NonEmptyString extends java.lang.Object implements ConfigDef.Validator
-
-
Constructor Summary
Constructors Constructor Description NonEmptyString()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ensureValid(java.lang.String name, java.lang.Object o)
Perform single configuration validation.java.lang.String
toString()
-
-
-
Method Detail
-
ensureValid
public void ensureValid(java.lang.String name, java.lang.Object o)
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
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-