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