Package | Description |
---|---|
org.hibernate.validator.cfg |
Entry point for the programmatic constraint definition API.
|
org.hibernate.validator.cfg.context |
Contains facet and creational context interfaces forming the API for programmatic constraint definition.
|
org.hibernate.validator.internal.cfg.context |
Creational context implementations of the API for programmatic
constraint definition.
|
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
ConstraintMapping.constraintDefinition(Class<A> annotationClass)
Starts defining
ConstraintValidator s to be executed for the specified constraint (i.e. |
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
ConstraintDefinitionTarget.constraintDefinition(Class<A> annotationType)
Selects the constraint (i.e.
|
ConstraintDefinitionContext<A> |
ConstraintDefinitionContext.includeExistingValidators(boolean includeExistingValidators)
Specifies whether validators already mapped to this constraint (i.e.
|
ConstraintDefinitionContext<A> |
ConstraintDefinitionContext.validatedBy(Class<? extends ConstraintValidator<A,?>> validator)
Adds a new validator to validate this constraint.
|
ConstraintDefinitionContext<A> |
ConstraintDefinitionContext.ConstraintValidatorDefinitionContext.with(ConstraintDefinitionContext.ValidationCallable<T> vc)
Applies the given Lambda expression or referenced method to values to be validated.
|
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
DefaultConstraintMapping.constraintDefinition(Class<A> annotationClass) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.