Package org.kiwiproject.validation
package org.kiwiproject.validation
-
ClassDescriptionThe annotated element must point to an existing directory.Validates that a string value is a valid path, exists, and is a directory.The annotated type must have two fields that define a valid range, i.e. in the simplest configuration
FieldRange.startField()must come beforeFieldRange.endField().Holder for multipleFieldRangeannotations.Validator class forFieldRange.The annotated element must point to an existing file.Validates that a string value is a valid path, exists, and is a regular file (not a directory).The annotated element must have a value in the specified enum class.Validates that a string value is in the list of enum constants, or a value derived from an enum constant.The annotated element must have a value that can be converted to a Java int orInteger.Validates that a string value is an integer value, i.e. that it can be converted to an int orInteger.The annotated element must have a value that is a valid IPv4 address.Validates that a string value is a valid IPV4 address.The annotated element must have the formipv4-address:port.Validates that a string matches a regular expression representing an IPv4 address and port separated by a colon.Static utilities for working withConstraintViolationobjects, generallySets of them.Static utilities related to Jakarta Bean Validation (formerly Java Bean Validation).The annotated element must have a value that can be converted to a Java long orLong.Validates that a string value is a long value, i.e. that it can be converted to a long orLong.The annotated element must be in the specified range, which can include both a minimum and maximum, only a minimum, or only a maximum.Validator for @Range.Ensures that a value is provided (i.e. not null).Check that a validated value is required.