public class ConfigValidationAnnotations extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ConfigValidationAnnotations.CustomList
Validates each entry in a list with a list of validators Validators with
fields: validatorClass and entryValidatorClass.
|
static interface |
ConfigValidationAnnotations.CustomMap
Validates a each key and value in a Map with a list of validators Validator with
fields: validatorClass, keyValidatorClasses, valueValidatorClasses.
|
static interface |
ConfigValidationAnnotations.CustomType
Checks if the field satisfies the custom validator class.
|
static interface |
ConfigValidationAnnotations.Implements
Checks if class name is assignable to the provided class/interfaces.
|
static interface |
ConfigValidationAnnotations.List
validates each entry in a list is of a certain type.
|
static interface |
ConfigValidationAnnotations.Map
Validates the type of each key and value in a map Validator with
fields: validatorClass, keyValidatorClass, valueValidatorClass.
|
static interface |
ConfigValidationAnnotations.NotNull
Validates on object is not null.
|
static interface |
ConfigValidationAnnotations.PositiveNumber
Checks if a number is positive and whether zero inclusive Validator with fields: validatorClass, includeZero.
|
static interface |
ConfigValidationAnnotations.StringList
validates each entry in a list is of String type.
|
static class |
ConfigValidationAnnotations.ValidatorParams
Field names for annotations.
|
| Constructor and Description |
|---|
ConfigValidationAnnotations() |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.