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