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