public static class ConfigValidation.ListEntryCustomValidator extends ConfigValidation.Validator
Validates each entry in a list against a list of custom Validators. Each validator in the list of validators must inherit or be an instance of Validator class
Constructor and Description |
---|
ListEntryCustomValidator(Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
static void |
validateField(String name,
Class<?>[] validators,
Object o) |
void |
validateField(String name,
Object o) |
public static void validateField(String name, Class<?>[] validators, Object o) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
public void validateField(String name, Object o)
validateField
in class ConfigValidation.Validator
Copyright © 2019 The Apache Software Foundation. All rights reserved.