Package | Description |
---|---|
javax.validation.constraintvalidation |
Package containing constructs specific to constraint validators
In particular
SupportedValidationTarget
is used to refine the validation target of a ConstraintValidator . |
org.hibernate.validator.internal.metadata.core |
Core classes of the internal model used for representing constraints and related metadata.
|
Modifier and Type | Method and Description |
---|---|
static ValidationTarget |
ValidationTarget.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationTarget[] |
ValidationTarget.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
ConstraintHelper.findValidatorClasses(Class<A> annotationType,
ValidationTarget validationTarget)
Returns those validator classes for the given constraint annotation
matching the given target.
|
Copyright © 2017 JBoss by Red Hat. All rights reserved.