Interface ValidationOrder
-
- All Known Implementing Classes:
DefaultValidationOrder,ValidationOrder.DefaultGroupValidationOrder,ValidationOrder.DefaultSequenceValidationOrder
public interface ValidationOrderInterface defining the methods needed to execute groups and sequences in the right order.- Author:
- Hardy Ferentschik, Guillaume Smet
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classValidationOrder.DefaultGroupValidationOrderstatic classValidationOrder.DefaultSequenceValidationOrder
-
Field Summary
Fields Modifier and Type Field Description static ValidationOrderDEFAULT_GROUPAValidationOrderwhich contains a single group,Default.static ValidationOrderDEFAULT_SEQUENCEAValidationOrderwhich contains a single sequence which in turn contains a single group,Default.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence)Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.Iterator<Group>getGroupIterator()Iterator<Sequence>getSequenceIterator()
-
-
-
Field Detail
-
DEFAULT_GROUP
static final ValidationOrder DEFAULT_GROUP
AValidationOrderwhich contains a single group,Default.
-
DEFAULT_SEQUENCE
static final ValidationOrder DEFAULT_SEQUENCE
AValidationOrderwhich contains a single sequence which in turn contains a single group,Default.
-
-
Method Detail
-
assertDefaultGroupSequenceIsExpandable
void assertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) throws GroupDefinitionException
Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.- Parameters:
defaultGroupSequence- the default group sequence of the bean currently validated- Throws:
GroupDefinitionException- in casedefaultGroupSequencecannot be expanded into one of the group sequences which need to be validated
-
-