Package org.kiwiproject.validation
-
Class Summary Class Description DirectoryPathValidator Validates that a string value is a valid path, exists, and is a directory.FieldRangeValidator Validator class forFieldRange
.FilePathValidator Validates that a string value is a valid path, exists, and is a regular file (not a directory).InEnumValidator Validates that a string value is in the list of enum constants, or a value derived from an enum constant.IntValueValidator Validates that a string value is an integer value, i.e.Ipv4AddressValidator Validates that a string value is a valid IPV4 address.Ipv4AndPortValidator Validates that a string matches a regular expression representing an IPv4 address and port separated by a colon.KiwiConstraintViolations Static utilities for working withConstraintViolation
objects, generallySet
s of them.KiwiValidations Static utilities related to Jakarta Bean Validation (formerly Java Bean Validation).LongValueValidator Validates that a string value is a long value, i.e.RangeValidator Validator for @Range
.RequiredValidator Check that a validated value is required. -
Annotation Types Summary Annotation Type Description DirectoryPath The annotated element must point to an existing directory.FieldRange The annotated type must have two fields that define a valid range, i.e.FieldRanges Holder for multipleFieldRange
annotations.FilePath The annotated element must point to an existing file.InEnum The annotated element must have a value in the specified enum class.IntValue The annotated element must have a value that can be converted to a Java int orInteger
.Ipv4Address The annotated element must have a value that is a valid IPv4 address.Ipv4AndPort The annotated element must have the formipv4-address:port
.LongValue The annotated element must have a value that can be converted to a Java long orLong
.Range The annotated element must be in the specified range, which can include both a minimum and maximum, only a minimum, or only a maximum.Required Ensures that a value is provided (i.e.