See: Description
| Interface | Description |
|---|---|
| ConfigValidationUtils.FieldValidator |
Declares methods for validating configuration values.
|
| Class | Description |
|---|---|
| ConfigValidation |
The class that does the validation of all the members of a given object.
|
| ConfigValidationAnnotations |
This class defines all the annotations that classes can use to do their field validations.
|
| ConfigValidationAnnotations.ValidatorParams |
Field names for annotations.
|
| ConfigValidationUtils |
Helper methods for ConfigValidationAnnotations.
|
| ConfigValidationUtils.NestableFieldValidator |
Declares a method for validating configuration values that is nestable.
|
| Validator |
Primary validation interface.
|
| ValidatorImpls |
System defined Validator Annotations.
|
| ValidatorImpls.ImplementsClassesValidator |
validates class implements one of these classes.
|
| ValidatorImpls.ImplementsClassValidator |
validates that the item implements a certain type.
|
| ValidatorImpls.ListEntryCustomValidator |
Validates each entry in a list against a list of custom Validators.
|
| ValidatorImpls.ListEntryTypeValidator |
Validates each entry in a list.
|
| ValidatorImpls.MapEntryCustomValidator |
validates each key and each value against the respective arrays of validators.
|
| ValidatorImpls.MapEntryTypeValidator |
validates each key and value in a map of a certain type.
|
| ValidatorImpls.NotNullValidator |
Validates if an object is not null.
|
| ValidatorImpls.PositiveNumberValidator |
Validates a positive number.
|
| ValidatorImpls.SimpleTypeValidator |
Validates basic types.
|
| ValidatorImpls.StringValidator |
validates that the string is equal to one of the specified ones in the list.
|
| Annotation Type | Description |
|---|---|
| ConfigValidationAnnotations.CustomList |
Validates each entry in a list with a list of validators Validators with
fields: validatorClass and entryValidatorClass.
|
| ConfigValidationAnnotations.CustomMap |
Validates a each key and value in a Map with a list of validators Validator with
fields: validatorClass, keyValidatorClasses, valueValidatorClasses.
|
| ConfigValidationAnnotations.CustomType |
Checks if the field satisfies the custom validator class.
|
| ConfigValidationAnnotations.Implements |
Checks if class name is assignable to the provided class/interfaces.
|
| ConfigValidationAnnotations.List |
validates each entry in a list is of a certain type.
|
| ConfigValidationAnnotations.Map |
Validates the type of each key and value in a map Validator with
fields: validatorClass, keyValidatorClass, valueValidatorClass.
|
| ConfigValidationAnnotations.NotNull |
Validates on object is not null.
|
| ConfigValidationAnnotations.PositiveNumber |
Checks if a number is positive and whether zero inclusive Validator with fields: validatorClass, includeZero.
|
| ConfigValidationAnnotations.StringList |
validates each entry in a list is of String type.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.