repo1.maven.org$maven2@com.fasterxml.transistore$transistore-server@0.9.8
repo1.maven.org$maven2@com.fasterxml.transistore$transistore-server@0.9.8@javax$validation$ConstraintValidator.java
file
oh
o
[]
package javax.validation;
Defines the logic to validate a given constraint A
for a given object type T.
Implementations must comply to the following restriction:
- T must resolve to a non parameterized type
- or generic parameters of T must be unbounded
wildcard types
- Author(s):
- Emmanuel Bernard
- Hardy Ferentschik
Initialize the validator in preparation for isValid calls.
The constraint annotation for a given constraint declaration
is passed.
This method is guaranteed to be called before any use of this instance for
validation.
- Parameters:
constraintAnnotation
annotation instance for a given constraint declaration
Implement the validation logic.
The state of
value
must not be altered.
This method can be accessed concurrently, thread-safety must be ensured
by the implementation.
- Parameters:
value
object to validatecontext
context in which the constraint is evaluated- Returns:
- false if
value
does not pass the constraint