Class Jsr380Validator
java.lang.Object
io.fluxcapacitor.javaclient.tracking.handling.validation.Jsr380Validator
- All Implemented Interfaces:
Validator
This validator uses JSR 380 annotations. However, before attempting method and type validations it will first attempt
field validations. This strategy prevents issues if one of the validated methods depends on one or more validated
fields but those fields are invalid.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckValidity(T object, Class<?>... groups) static Jsr380ValidatorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.fluxcapacitor.javaclient.tracking.handling.validation.Validator
assertValid, isValid
-
Constructor Details
-
Jsr380Validator
public Jsr380Validator()
-
-
Method Details
-
createDefault
-
checkValidity
- Specified by:
checkValidityin interfaceValidator
-