Interface ValidationBuilder<T>
-
public interface ValidationBuilder<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContinuingValidationBuilder<T>compliesWith(Collection<Rule<T>> rules)ArgumentAppender<T>compliesWith(Rule.Extended<T> rule)ContinuingValidationBuilder<T>compliesWith(Rule<T> rule)
-
-
-
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
ContinuingValidationBuilder<T> compliesWith(Collection<Rule<T>> rules)
- Parameters:
rules- the rules 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.
-
-