Top Description Inners Fields Methods
org.hibernate.validator.internal.engine.groups

public Interface ValidationOrder

Known Direct Implementers
org.hibernate.validator.internal.engine.groups.ValidationOrder.DefaultSequenceValidationOrder, org.hibernate.validator.internal.engine.groups.ValidationOrder.DefaultGroupValidationOrder, org.hibernate.validator.internal.engine.groups.DefaultValidationOrder
Imports
java.util.Collections, .Iterator, .List, jakarta.validation.GroupDefinitionException

Interface defining the methods needed to execute groups and sequences in the right order.
Authors
Hardy Ferentschik, Guillaume Smet

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class

Field Summary

Modifier and TypeField and Description
public static final ValidationOrder
public static final ValidationOrder
DEFAULT_SEQUENCE

A org.hibernate.validator.internal.engine.groups.ValidationOrder which contains a single sequence which in turn contains a single group, Default.

Method Summary

Modifier and TypeMethod and Description
public void
assertDefaultGroupSequenceIsExpandable(List<Class<?>>
the default group sequence of the bean currently validated
defaultGroupSequence
)

Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.

public Iterator<Group>
public Iterator<Sequence>

Field Detail

DEFAULT_GROUPback to summary
public static final ValidationOrder DEFAULT_GROUP

A org.hibernate.validator.internal.engine.groups.ValidationOrder which contains a single group, Default.

DEFAULT_SEQUENCEback to summary
public static final ValidationOrder DEFAULT_SEQUENCE

A org.hibernate.validator.internal.engine.groups.ValidationOrder which contains a single sequence which in turn contains a single group, Default.

Method Detail

assertDefaultGroupSequenceIsExpandableback to summary
public 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:List<Class<?>>

the default group sequence of the bean currently validated

Exceptions
GroupDefinitionException:
in case defaultGroupSequence cannot be expanded into one of the group sequences which need to be validated
getGroupIteratorback to summary
public Iterator<Group> getGroupIterator()
getSequenceIteratorback to summary
public Iterator<Sequence> getSequenceIterator()
org.hibernate.validator.internal.engine.groups back to summary

public Class ValidationOrder.DefaultGroupValidationOrder

extends Object
implements ValidationOrder
Class Inheritance
  • java.lang.Object
  • org.hibernate.validator.internal.engine.groups.ValidationOrder.DefaultGroupValidationOrder
All Implemented Interfaces
org.hibernate.validator.internal.engine.groups.ValidationOrder

Field Summary

Modifier and TypeField and Description
private final List<Group>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
assertDefaultGroupSequenceIsExpandable(List<Class<?>>
the default group sequence of the bean currently validated
defaultGroupSequence
)

Implements org.hibernate.validator.internal.engine.groups.ValidationOrder.assertDefaultGroupSequenceIsExpandable.

Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.
public Iterator<Group>
public Iterator<Sequence>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

defaultGroupsback to summary
private final List<Group> defaultGroups

Constructor Detail

DefaultGroupValidationOrderback to summary
private DefaultGroupValidationOrder()

Method Detail

assertDefaultGroupSequenceIsExpandableback to summary
public void assertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) throws GroupDefinitionException

Implements org.hibernate.validator.internal.engine.groups.ValidationOrder.assertDefaultGroupSequenceIsExpandable.

Doc from org.hibernate.validator.internal.engine.groups.ValidationOrder.assertDefaultGroupSequenceIsExpandable.

Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.

Parameters
defaultGroupSequence:List<Class<?>>

the default group sequence of the bean currently validated

Annotations
@Override
Exceptions
GroupDefinitionException:
in case defaultGroupSequence cannot be expanded into one of the group sequences which need to be validated
getGroupIteratorback to summary
public Iterator<Group> getGroupIterator()

Implements org.hibernate.validator.internal.engine.groups.ValidationOrder.getGroupIterator.

Annotations
@Override
getSequenceIteratorback to summary
public Iterator<Sequence> getSequenceIterator()

Implements org.hibernate.validator.internal.engine.groups.ValidationOrder.getSequenceIterator.

Annotations
@Override
org.hibernate.validator.internal.engine.groups back to summary

public Class ValidationOrder.DefaultSequenceValidationOrder

extends Object
implements ValidationOrder
Class Inheritance
  • java.lang.Object
  • org.hibernate.validator.internal.engine.groups.ValidationOrder.DefaultSequenceValidationOrder
All Implemented Interfaces
org.hibernate.validator.internal.engine.groups.ValidationOrder

Field Summary

Modifier and TypeField and Description
private final List<Sequence>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
assertDefaultGroupSequenceIsExpandable(List<Class<?>>
the default group sequence of the bean currently validated
defaultGroupSequence
)

Implements org.hibernate.validator.internal.engine.groups.ValidationOrder.assertDefaultGroupSequenceIsExpandable.

Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.
public Iterator<Group>
public Iterator<Sequence>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

defaultSequencesback to summary
private final List<Sequence> defaultSequences

Constructor Detail

DefaultSequenceValidationOrderback to summary
private DefaultSequenceValidationOrder()

Method Detail

assertDefaultGroupSequenceIsExpandableback to summary
public void assertDefaultGroupSequenceIsExpandable(List<Class<?>> defaultGroupSequence) throws GroupDefinitionException

Implements org.hibernate.validator.internal.engine.groups.ValidationOrder.assertDefaultGroupSequenceIsExpandable.

Doc from org.hibernate.validator.internal.engine.groups.ValidationOrder.assertDefaultGroupSequenceIsExpandable.

Asserts that the default group sequence of the validated bean can be expanded into the sequences which needs to be validated.

Parameters
defaultGroupSequence:List<Class<?>>

the default group sequence of the bean currently validated

Annotations
@Override
Exceptions
GroupDefinitionException:
in case defaultGroupSequence cannot be expanded into one of the group sequences which need to be validated
getGroupIteratorback to summary
public Iterator<Group> getGroupIterator()

Implements org.hibernate.validator.internal.engine.groups.ValidationOrder.getGroupIterator.

Annotations
@Override
getSequenceIteratorback to summary
public Iterator<Sequence> getSequenceIterator()

Implements org.hibernate.validator.internal.engine.groups.ValidationOrder.getSequenceIterator.

Annotations
@Override