public static class ConfigDef.CompositeValidator extends java.lang.Object implements ConfigDef.Validator
Modifier and Type | Method and Description |
---|---|
void |
ensureValid(java.lang.String name,
java.lang.Object value)
Perform single configuration validation.
|
static ConfigDef.CompositeValidator |
of(ConfigDef.Validator... validators) |
java.lang.String |
toString() |
public static ConfigDef.CompositeValidator of(ConfigDef.Validator... validators)
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 configurationpublic java.lang.String toString()
toString
in class java.lang.Object