Package org.apache.pulsar.config.validation
package org.apache.pulsar.config.validation
Implementation of Validator interfaces and annotations.
-
ClassDescriptionThe class that does the validation of all the members of a given object.This class defines all the annotations that classes can use to do their field validations.Validates each entry in a list with a list of validators Validators with fields: validatorClass and entryValidatorClass.Validates a each key and value in a Map with a list of validators Validator with fields: validatorClass, keyValidatorClasses, valueValidatorClasses.Checks if the field satisfies the custom validator class.Checks if class name is assignable to the provided class/interfaces.validates each entry in a list is of a certain type.Validates the type of each key and value in a map Validator with fields: validatorClass, keyValidatorClass, valueValidatorClass.Validates on object is not null.Checks if a number is positive and whether zero inclusive Validator with fields: validatorClass, includeZero.validates each entry in a list is of String type.Field names for annotations.Helper methods for ConfigValidationAnnotations.Declares methods for validating configuration values.Declares a method for validating configuration values that is nestable.Primary validation interface.System defined Validator Annotations.validates class implements one of these classes.validates that the item implements a certain type.Validates each entry in a list against a list of custom Validators.Validates each entry in a list.validates each key and each value against the respective arrays of validators.validates each key and value in a map of a certain type.Validates if an object is not null.Validates a positive number.Validates basic types.validates that the string is equal to one of the specified ones in the list.