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.engine.constraintvalidation |
Classes dealing with the representation of constraints and the management/instantitation of constraint
validators.
|
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 |
---|---|
EnumSet<ValidationTarget> |
ConstraintValidatorDescriptor.getValidationTargets()
The targets supported for validation by the represented validator.
|
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
ConstraintHelper.findValidatorDescriptors(Class<A> annotationType,
ValidationTarget validationTarget)
Returns those validator descriptors for the given constraint annotation
matching the given target.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.