Interface ValidationBuilder<T>


  • public interface ValidationBuilder<T>
    • Method Detail

      • compliesWith

        ContinuingValidationBuilder<T> compliesWith​(Rule<T> rule)
        Parameters:
        rule - the rule which the value needs to comply with.
        Returns:
        the Validator to add more rules.
      • compliesWith

        ArgumentAppender<T> compliesWith​(Rule.Extended<T> rule)
        Parameters:
        rule - the rule which the value needs to comply with.
        Returns:
        the Validator to add more rules.