public static class ConfigValidation.MapEntryCustomValidator extends ConfigValidation.Validator
validates each key and each value against the respective arrays of validators.
Constructor and Description |
---|
MapEntryCustomValidator(Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
static void |
validateField(String name,
Class<?>[] keyValidators,
Class<?>[] valueValidators,
Object o) |
void |
validateField(String name,
Object o) |
public static void validateField(String name, Class<?>[] keyValidators, Class<?>[] valueValidators, Object o) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
public void validateField(String name, Object o)
validateField
in class ConfigValidation.Validator
Copyright © 2020 The Apache Software Foundation. All rights reserved.