public static interface ConfigValidationUtils.FieldValidator
Declares methods for validating configuration values.
Modifier and Type | Method and Description |
---|---|
void |
validateField(String name,
Object field)
Validates the given field.
|
void validateField(String name, Object field) throws IllegalArgumentException
Validates the given field.
name
- the name of the field.field
- The field to be validated.IllegalArgumentException
- if the field fails validation.Copyright © 2019 The Apache Software Foundation. All Rights Reserved.