Top Description Interfaces
[default module]

Package org.hibernate.validator.cfg.context


Contains facet and creational context interfaces forming the API for programmatic constraint definition.

This package is part of the public Hibernate Validator API.

Interface Summary

Modifier and TypeInterface and Description
public interface
AnnotationIgnoreOptions<C extends AnnotationIgnoreOptions<C>>

Facet of a constraint mapping creational context which allows to configure how existing annotation should be treated.

public interface
AnnotationProcessingOptions<C extends AnnotationProcessingOptions<C>>

Deprecated Since 6.0. Planned for removal. Use AnnotationIgnoreOptions#ignoreAnnotations(boolean) instead.
public interface
Cascadable<C extends Cascadable<C>>

Facet of a constraint mapping creational context which allows to mark the underlying element as to be validated in a cascaded way.

public interface
Constrainable<C extends Constrainable<C>>

Facet of a constraint mapping creational context which allows to place constraints on the underlying element.

public interface
ConstraintDefinitionContext<
The annotation type represented by this context.
A extends Annotation
>

Constraint mapping creational context representing a constraint (i.e. annotation type).

public interface
ConstraintDefinitionTarget

Facet of a constraint definition creational context which allows to select the constraint (annotation type) to which the next operations shall apply.

public interface
ConstraintMappingTarget

Facet of a constraint mapping creational context which allows to start a new constraint mapping or definition.

public interface
ConstructorConstraintMappingContext

Constraint mapping creational context representing a constructor.

public interface
ConstructorTarget

Facet of a constraint mapping creational context which allows to select the bean constructor to which the next operations shall apply.

public interface
ContainerElementConstraintMappingContext

Constraint mapping creational context representing a type argument of a property, parameter or method return value with a generic (return) type.

public interface
ContainerElementTarget

Facet of a constraint mapping creational context which allows to select a type argument or the component type of the (return) type of the current property, parameter or method as target for the next operations.

public interface
CrossParameterConstraintMappingContext

Constraint mapping creational context allowing to add cross-parameter constraints to a method or constructor and to navigate to other constraint targets.

public interface
CrossParameterTarget

Facet of a constraint mapping creational context which allows to select the cross-parameter element of a method or constructor as target of the next operations.

public interface
GroupConversionTargetContext<C>

Creational context which allows to set the target group of a group conversion configured via Cascadable#convertGroup(Class).

public interface
MethodConstraintMappingContext

Constraint mapping creational context representing a method.

public interface
MethodTarget

Facet of a constraint mapping creational context which allows to select the bean method to which the next operations shall apply.

public interface
ParameterConstraintMappingContext

Constraint mapping creational context representing a method parameter.

public interface
ParameterTarget

Facet of a constraint mapping creational context which allows to select a method or constructor parameter to which the next operations shall apply.

public interface
PropertyConstraintMappingContext

Deprecated as a consequence of AnnotationProcessingOptions being deprecated.
Constraint mapping creational context representing a property of a bean.
public interface
PropertyTarget

Facet of a constraint mapping creational context which allows to select the bean property to which the next operations shall apply.

public interface
ReturnValueConstraintMappingContext

Constraint mapping creational context representing a method return value.

public interface
ReturnValueTarget

Facet of a constraint mapping creational context which allows to select the current method's or constructor's return value as target for the next operations.

public interface
TypeConstraintMappingContext<
The type represented by this creational context.
C
>

Deprecated as a consequence of AnnotationProcessingOptions being deprecated.
Constraint mapping creational context representing a type.
public interface
TypeTarget

Facet of a constraint mapping creational context which allows to select the bean type to which the next operations shall apply.