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 void validateField(String name, Object o)
validateField
in class ConfigValidation.Validator
public static void validateField(String name, Class[] keyValidators, Class[] valueValidators, Object o) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.