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