Interface BaseGroupSequenceProvider.IGroupBuilder<T>

Enclosing class:
BaseGroupSequenceProvider<T>

public static interface BaseGroupSequenceProvider.IGroupBuilder<T>
Since:
8.2.0
  • 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

      T bean()
      Gets the bean that is being validated.
      Returns:
      The bean.
    • when

      Adds a condition to be checked for the next call to add(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.