org.apache.logging.log4j.core.config.plugins.validation
Class ConstraintValidators
java.lang.Object
org.apache.logging.log4j.core.config.plugins.validation.ConstraintValidators
public final class ConstraintValidators
- extends Object
Utility class to locate an appropriate ConstraintValidator
implementation for an annotation.
- Since:
- 2.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
findValidators
public static Collection<ConstraintValidator<?>> findValidators(Annotation... annotations)
- Finds all relevant
ConstraintValidator
objects from an array of annotations. All validators will be
initialized
before being returned.
- Parameters:
annotations
- the annotations to find constraint validators for
- Returns:
- a collection of ConstraintValidators for the given annotations
Copyright © 1999-2015 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.