Package ninja.validation
-
Interface Summary Interface Description Validation This interface means the validation context (implemented byValidationImpl
) and can be injected in your controller method.Validator<T> A validator for validating parameters -
Class Summary Class Description ConstraintViolation A validation constraint violationFieldViolation ValidationImpl Validation objectValidators Built in validators.Validators.DateValidator Validators.EnumValidator Validators.FloatValidator Validators.IntegerValidator Validators.JSRValidator Validators.LengthValidator Validators.MatchesValidator Validators.NumberValidator Validators.RequiredValidator Validators.UUIDValidator -
Annotation Types Summary Annotation Type Description IsDate Validates that the field is a date.IsEnum Validates that the field is a valid enum constant.IsFloat Validates that the field is a floating point number.IsInteger Validates that the field is an integer.IsUUID JSR303Validation Validates that the annotated element is conform to its JSR303-AnnotationsLength Validates that the length of the field meets the given length constraintsMatches Validates that the parameter matches the given regular expressionNumberValue Validates that the value of a number meets certain parametersRequired Deprecated. Please use Optional in controller method instead.WithValidator Indicates that the annotation should have this validator class applied to it