public static class ConfigDef.CaseInsensitiveValidString extends Object implements ConfigDef.Validator
Modifier and Type | Method and Description |
---|---|
void |
ensureValid(String name,
Object o)
Perform single configuration validation.
|
static ConfigDef.CaseInsensitiveValidString |
in(String... validStrings) |
String |
toString() |
public static ConfigDef.CaseInsensitiveValidString in(String... validStrings)
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