Package | Description |
---|---|
org.apache.logging.log4j.core.config.plugins.validation |
Constraint validators for plugin factory methods.
|
org.apache.logging.log4j.core.config.plugins.validation.validators |
ConstraintValidator implementations for the constraint annotations.
|
Modifier and Type | Method and Description |
---|---|
private static <A extends java.lang.annotation.Annotation> |
ConstraintValidators.getValidator(A annotation,
java.lang.Class<? extends A> type) |
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<ConstraintValidator<?>> |
ConstraintValidators.findValidators(java.lang.annotation.Annotation... annotations)
Finds all relevant
ConstraintValidator objects from an array of annotations. |
Modifier and Type | Method and Description |
---|---|
private static java.lang.reflect.Type |
ConstraintValidators.getConstraintValidatorAnnotationType(java.lang.Class<? extends ConstraintValidator<?>> type) |
Modifier and Type | Class and Description |
---|---|
class |
RequiredValidator
Validator that checks an object for emptiness.
|
class |
ValidHostValidator
Validator that checks an object to verify it is a valid hostname or IP address.
|
class |
ValidPortValidator
Validator that checks an object to verify it is a valid port number (an integer between 0 and 65535).
|