Interface ValidationOrder

All Known Implementing Classes:
DefaultValidationOrder, ValidationOrder.DefaultGroupValidationOrder, ValidationOrder.DefaultSequenceValidationOrder

public interface ValidationOrder
Interface defining the methods needed to execute groups and sequences in the right order.
Author:
Hardy Ferentschik, Guillaume Smet
  • Field Details

  • Method Details

    • getGroupIterator

      Iterator<Group> getGroupIterator()
    • getSequenceIterator

      Iterator<Sequence> getSequenceIterator()
    • 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 case defaultGroupSequence cannot be expanded into one of the group sequences which need to be validated