org.apache.logging.log4j.core.config.plugins.validation
Annotation Type Constraint


@Documented
@Target(value=ANNOTATION_TYPE)
@Retention(value=RUNTIME)
public @interface Constraint

Meta annotation to mark an annotation as a validation constraint. This annotation must specify a ConstraintValidator implementation class that has a default constructor.

Since:
2.1

Required Element Summary
 Class<? extends ConstraintValidator<? extends Annotation>> value
          ConstraintValidator class that implements the validation logic for the annotated constraint annotation.
 

Element Detail

value

public abstract Class<? extends ConstraintValidator<? extends Annotation>> value
ConstraintValidator class that implements the validation logic for the annotated constraint annotation.



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.