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.NonEmptyStringWithoutControlCharsextends Object implements ConfigDef.Validator
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionvoidensureValid(String name, Object value) Perform single configuration validation.toString()
Constructor Details
NonEmptyStringWithoutControlChars
public NonEmptyStringWithoutControlChars()
Method Details
nonEmptyStringWithoutControlChars
ensureValid
Description copied from interface:ConfigDef.ValidatorPerform single configuration validation.- Specified by:
ensureValidin interfaceConfigDef.Validator- Parameters:
name- The name of the configurationvalue- The value of the configuration
toString