Package org.apache.kafka.common.config
Class ConfigDef.NonEmptyStringWithoutControlChars
- java.lang.Object
-
- org.apache.kafka.common.config.ConfigDef.NonEmptyStringWithoutControlChars
-
- All Implemented Interfaces:
ConfigDef.Validator
- Enclosing class:
- ConfigDef
public static class ConfigDef.NonEmptyStringWithoutControlChars extends Object implements ConfigDef.Validator
-
-
Constructor Summary
Constructors Constructor Description NonEmptyStringWithoutControlChars()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
ensureValid(String name, Object value)
Perform single configuration validation.static ConfigDef.NonEmptyStringWithoutControlChars
nonEmptyStringWithoutControlChars()
String
toString()
-
-
-
Method Detail
-
nonEmptyStringWithoutControlChars
public static ConfigDef.NonEmptyStringWithoutControlChars nonEmptyStringWithoutControlChars()
-
ensureValid
public void ensureValid(String name, Object value)
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
-
-