ConfigDef.CompositeValidator
, ConfigDef.NonEmptyString
, ConfigDef.NonEmptyStringWithoutControlChars
, ConfigDef.NonNullValidator
, ConfigDef.Range
, ConfigDef.ValidList
, ConfigDef.ValidString
public static interface ConfigDef.Validator
Modifier and Type | Method | Description |
---|---|---|
void |
ensureValid(java.lang.String name,
java.lang.Object value) |
Perform single configuration validation.
|
void ensureValid(java.lang.String name, java.lang.Object value)
name
- The name of the configurationvalue
- The value of the configurationConfigException
- if the value is invalid.