Class DefaultValidationOrder
java.lang.Object
org.hibernate.validator.internal.engine.groups.DefaultValidationOrder
- All Implemented Interfaces:
ValidationOrder
An instance of
ValidationOrder
defines the group order during one validation call.- Author:
- Hardy Ferentschik, Guillaume Smet
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.validator.internal.engine.groups.ValidationOrder
ValidationOrder.DefaultGroupValidationOrder, ValidationOrder.DefaultSequenceValidationOrder
-
Field Summary
Fields inherited from interface org.hibernate.validator.internal.engine.groups.ValidationOrder
DEFAULT_GROUP, DEFAULT_SEQUENCE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
assertDefaultGroupSequenceIsExpandable
(List<Class<?>> defaultGroupSequence) Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.void
insertGroup
(Group group) void
insertSequence
(Sequence sequence) toString()
-
Constructor Details
-
DefaultValidationOrder
public DefaultValidationOrder()
-
-
Method Details
-
getGroupIterator
- Specified by:
getGroupIterator
in interfaceValidationOrder
-
getSequenceIterator
- Specified by:
getSequenceIterator
in interfaceValidationOrder
-
insertGroup
-
insertSequence
-
toString
-
assertDefaultGroupSequenceIsExpandable
public void assertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) throws jakarta.validation.GroupDefinitionException Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.- Specified by:
assertDefaultGroupSequenceIsExpandable
in interfaceValidationOrder
- Parameters:
defaultGroupSequence
- the default group sequence of the bean currently validated- Throws:
jakarta.validation.GroupDefinitionException
- in casedefaultGroupSequence
cannot be expanded into one of the group sequences which need to be validated
-