public final class DefaultValidationOrder extends Object implements ValidationOrder
ValidationOrder defines the group order during one validation call.ValidationOrder.DefaultValidationOrderDEFAULT_SEQUENCE| Constructor and Description |
|---|
DefaultValidationOrder() |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
Iterator<Group> |
getGroupIterator() |
Iterator<Sequence> |
getSequenceIterator() |
void |
insertGroup(Group group) |
void |
insertSequence(Sequence sequence) |
String |
toString() |
public Iterator<Group> getGroupIterator()
getGroupIterator in interface ValidationOrderpublic Iterator<Sequence> getSequenceIterator()
getSequenceIterator in interface ValidationOrderpublic void insertGroup(Group group)
public void insertSequence(Sequence sequence)
public void assertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) throws GroupDefinitionException
assertDefaultGroupSequenceIsExpandable in interface ValidationOrderdefaultGroupSequence - the default group sequence of the bean currently validatedGroupDefinitionException - in case defaultGroupSequence cannot be expanded into one of the group sequences
which need to be validatedCopyright © 2018 JBoss by Red Hat. All rights reserved.