public static interface ConfigValidationUtils.FieldValidator
Modifier and Type | Method and Description |
---|---|
void |
validateField(String name,
Object field)
Validates the given field.
|
void validateField(String name, Object field) throws IllegalArgumentException
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.