Package | Description |
---|---|
org.hibernate.validator.internal.metadata.aggregated |
The classes in this package contain the aggregated meta data needed for an actual validation.
|
org.hibernate.validator.internal.metadata.aggregated.rule |
Contains MethodConfigurationRule and its subclasses used to validate the correctness of method constraints
on overridden/implemented methods in inheritance hierarchies.
|
org.hibernate.validator.internal.metadata.raw |
The raw metadata is a reflection of all configured constraints including constraints defined via multiple
configuration sources.
|
Constructor and Description |
---|
Builder(java.lang.Class<?> beanClass,
ConstrainedExecutable constrainedExecutable,
ConstraintHelper constraintHelper,
ExecutableHelper executableHelper,
TypeResolutionHelper typeResolutionHelper,
ValueExtractorManager valueExtractorManager,
ExecutableParameterNameProvider parameterNameProvider,
MethodValidationConfiguration methodValidationConfiguration) |
Builder(java.lang.Class<?> beanClass,
ConstrainedExecutable constrainedMethod,
ConstraintHelper constraintHelper,
TypeResolutionHelper typeResolutionHelper,
ValueExtractorManager valueExtractorManager) |
Modifier and Type | Method and Description |
---|---|
abstract void |
MethodConfigurationRule.apply(ConstrainedExecutable method,
ConstrainedExecutable otherMethod)
Applies this rule.
|
void |
ReturnValueMayOnlyBeMarkedOnceAsCascadedPerHierarchyLine.apply(ConstrainedExecutable method,
ConstrainedExecutable otherMethod) |
void |
ParallelMethodsMustNotDefineParameterConstraints.apply(ConstrainedExecutable method,
ConstrainedExecutable otherMethod) |
void |
OverridingMethodMustNotAlterParameterConstraints.apply(ConstrainedExecutable method,
ConstrainedExecutable otherMethod) |
void |
VoidMethodsMustNotBeReturnValueConstrained.apply(ConstrainedExecutable executable,
ConstrainedExecutable otherExecutable) |
void |
ParallelMethodsMustNotDefineGroupConversionForCascadedReturnValue.apply(ConstrainedExecutable method,
ConstrainedExecutable otherMethod) |
protected boolean |
MethodConfigurationRule.isDefinedOnParallelType(ConstrainedExecutable executable,
ConstrainedExecutable otherExecutable)
Whether
otherExecutable is defined on a parallel of the declaring
type of executable or not. |
protected boolean |
MethodConfigurationRule.isDefinedOnSubType(ConstrainedExecutable executable,
ConstrainedExecutable otherExecutable)
Whether
otherExecutable is defined on a subtype of the declaring
type of executable or not. |
Modifier and Type | Method and Description |
---|---|
ConstrainedExecutable |
ConstrainedExecutable.merge(ConstrainedExecutable other)
Creates a new constrained executable object by merging this and the given
other executable.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConstrainedExecutable.isEquallyParameterConstrained(ConstrainedExecutable other)
Whether this and the given other executable have the same parameter
constraints.
|
ConstrainedExecutable |
ConstrainedExecutable.merge(ConstrainedExecutable other)
Creates a new constrained executable object by merging this and the given
other executable.
|
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved