public static class ConfigValidation.MapEntryTypeValidator extends ConfigValidation.Validator
validates each key and value in a map of a certain type.
| Constructor and Description |
|---|
MapEntryTypeValidator(Map<String,Object> params) |
| Modifier and Type | Method and Description |
|---|---|
static void |
validateField(String name,
Class<?> keyType,
Class<?> valueType,
Object o) |
void |
validateField(String name,
Object o) |
public static void validateField(String name, Class<?> keyType, Class<?> valueType, Object o)
public void validateField(String name, Object o)
validateField in class ConfigValidation.ValidatorCopyright © 2021 The Apache Software Foundation. All rights reserved.