Interface | Description |
---|---|
ConfigValidationUtils.FieldValidator |
Declares methods for validating configuration values.
|
Annotation Type | Description |
---|---|
ConfigValidationAnnotations.CustomValidator |
For custom validators
|
ConfigValidationAnnotations.isBoolean | |
ConfigValidationAnnotations.isImplementationOfClass | |
ConfigValidationAnnotations.isInteger | |
ConfigValidationAnnotations.isKryoReg | |
ConfigValidationAnnotations.isListEntryCustom |
Validates each entry in a list with a list of validators Validators with fields: validatorClass and entryValidatorClass
|
ConfigValidationAnnotations.isListEntryType |
validates each entry in a list is of a certain type
|
ConfigValidationAnnotations.isMapEntryCustom |
Validates a each key and value in a Map with a list of validators Validator with fields: validatorClass, keyValidatorClasses, valueValidatorClasses
|
ConfigValidationAnnotations.isMapEntryType |
Validates the type of each key and value in a map Validator with fields: validatorClass, keyValidatorClass, valueValidatorClass
|
ConfigValidationAnnotations.isNoDuplicateInList |
Validates that there are no duplicates in a list
|
ConfigValidationAnnotations.isNumber | |
ConfigValidationAnnotations.isPositiveNumber |
Checks if a number is positive and whether zero inclusive Validator with fields: validatorClass, includeZero
|
ConfigValidationAnnotations.isPowerOf2 | |
ConfigValidationAnnotations.isString |
Validators with fields: validatorClass
|
ConfigValidationAnnotations.isStringList | |
ConfigValidationAnnotations.isStringOrStringList |
Complex/custom type validators
|
ConfigValidationAnnotations.isType |
Validators with fields: validatorClass and type
|
ConfigValidationAnnotations.NotNull |
Validates on object is not null
|
ConfigValidationAnnotations.Password |
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.