public abstract static class ConfigValidationUtils.NestableFieldValidator extends Object implements ConfigValidationUtils.FieldValidator
Constructor and Description |
---|
NestableFieldValidator() |
Modifier and Type | Method and Description |
---|---|
void |
validateField(String name,
Object field)
Validates the given field.
|
abstract void |
validateField(String pd,
String name,
Object field)
Validates the given field.
|
public void validateField(String name, Object field) throws IllegalArgumentException
ConfigValidationUtils.FieldValidator
validateField
in interface ConfigValidationUtils.FieldValidator
name
- the name of the field.field
- The field to be validated.IllegalArgumentException
- if the field fails validation.public abstract void validateField(String pd, String name, Object field) throws IllegalArgumentException
pd
- describes the parent wrapping this validator.name
- the name of the field.field
- The field to be validated.IllegalArgumentException
- if the field fails validation.Copyright © 2023 The Apache Software Foundation. All rights reserved.