Interface | Description |
---|---|
ConfigValidationUtils.FieldValidator |
Declares methods for validating configuration values.
|
Validated |
An interface that is used to inform config validation what to look at.
|
Annotation Type | Description |
---|---|
ConfigValidationAnnotations.CustomValidator |
For custom validators.
|
ConfigValidationAnnotations.IsBoolean | |
ConfigValidationAnnotations.IsDerivedFrom | |
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 | |
NotConf |
Annotation that can be used to explicitly call out public static final String fields that are not configs.
|
Copyright © 2019 The Apache Software Foundation. All rights reserved.