Interface BaseGroupSequenceProvider.IGroupBuilder<T>
- Enclosing class:
BaseGroupSequenceProvider<T>
public static interface BaseGroupSequenceProvider.IGroupBuilder<T>
- Since:
- 8.2.0
-
Method Summary
Modifier and TypeMethodDescriptionAdds a group to the list of groups to validate.bean()Gets the bean that is being validated.Adds a condition to be checked for the next call toadd(Class).
-
Method Details
-
add
Adds a group to the list of groups to validate.- Parameters:
group- Group to add.- Returns:
- This builder for chaining method calls.
-
bean
-
when
Adds a condition to be checked for the next call toadd(Class). THe group is added only when the bean satisfies the given condition.- Parameters:
condition- Condition to check.- Returns:
- This builder for chaining method calls.
-