Class ParallelMethodsMustNotDefineParameterConstraints
java.lang.Object
org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
org.hibernate.validator.internal.metadata.aggregated.rule.ParallelMethodsMustNotDefineParameterConstraints
Rule that ensures that parallel methods don't define any parameter
constraints.
- Author:
- Gunnar Morling
-
Field Summary
Fields inherited from class org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ConstrainedExecutable method, ConstrainedExecutable otherMethod) Applies this rule.Methods inherited from class org.hibernate.validator.internal.metadata.aggregated.rule.MethodConfigurationRule
isDefinedOnParallelType, isDefinedOnSubType, isStrictSubType
-
Constructor Details
-
ParallelMethodsMustNotDefineParameterConstraints
public ParallelMethodsMustNotDefineParameterConstraints()
-
-
Method Details
-
apply
Description copied from class:MethodConfigurationRule
Applies this rule. Invoked for each pair of methods collected by a given executable meta dataExecutableMetaData.Builder
.- Specified by:
apply
in classMethodConfigurationRule
- Parameters:
method
- The first method to check.otherMethod
- The other method to check.
-