public static class ConfigDef.NonEmptyStringWithoutControlChars extends Object implements ConfigDef.Validator
Constructor and Description |
---|
NonEmptyStringWithoutControlChars() |
Modifier and Type | Method and Description |
---|---|
void |
ensureValid(String name,
Object value)
Perform single configuration validation.
|
static ConfigDef.NonEmptyStringWithoutControlChars |
nonEmptyStringWithoutControlChars() |
String |
toString() |
public static ConfigDef.NonEmptyStringWithoutControlChars nonEmptyStringWithoutControlChars()
public void ensureValid(String name, Object value)
ConfigDef.Validator
ensureValid
in interface ConfigDef.Validator
name
- The name of the configurationvalue
- The value of the configuration