public final class ConstraintValidators extends Object
ConstraintValidator
implementation for an annotation.Modifier and Type | Method and Description |
---|---|
static Collection<ConstraintValidator<?>> |
findValidators(Annotation... annotations)
Finds all relevant
ConstraintValidator objects from an array of annotations. |
public static Collection<ConstraintValidator<?>> findValidators(Annotation... annotations)
ConstraintValidator
objects from an array of annotations. All validators will be
initialized
before being returned.annotations
- the annotations to find constraint validators forCopyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.