public static class ConfigValidation.DerivedTypeValidator extends ConfigValidation.Validator
Checks if the named type derives from the specified Class
Constructor and Description |
---|
DerivedTypeValidator(Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
static void |
validateField(String name,
Class<?> baseType,
Object actualTypeName) |
void |
validateField(String name,
Object actualTypeName) |
public static void validateField(String name, Class<?> baseType, Object actualTypeName)
public void validateField(String name, Object actualTypeName)
validateField
in class ConfigValidation.Validator
Copyright © 2019 The Apache Software Foundation. All rights reserved.