Uses of Class
be.sddevelopment.commons.validation.FailureBuilderClause
-
Packages that use FailureBuilderClause Package Description be.sddevelopment.commons.validation Package containing utility classes to write clean code for validation purposes. -
-
Uses of FailureBuilderClause in be.sddevelopment.commons.validation
Methods in be.sddevelopment.commons.validation that return FailureBuilderClause Modifier and Type Method Description FailureBuilderClause<T>
FailureBuilderClause. andCode(String code)
FailureBuilderClause<T>
FailureBuilderClause. andReason(String reason)
FailureBuilderClause<T>
FailureBuilderClause. andSeverity(Severity level)
static <T> FailureBuilderClause<T>
FailureBuilderClause. of(Function<T,Function<Failure.FailureBuilder,Failure.FailureBuilder>> function)
static <T> FailureBuilderClause<T>
FailureBuilderClause. withCode(String code)
static <T> FailureBuilderClause<T>
FailureBuilderClause. withReason(String reason)
static <T> FailureBuilderClause<T>
FailureBuilderClause. withSeverity(Severity level)
Methods in be.sddevelopment.commons.validation with parameters of type FailureBuilderClause Modifier and Type Method Description FieldValidationRule<R,T>
FieldValidationRule. elseFail(FailureBuilderClause<T> failureDelta)
FieldValidationRule.FieldValidationRuleBuilder<R,T>
FieldValidationRule.FieldValidationRuleBuilder. failureCreator(FailureBuilderClause<T> failureCreator)
Constructors in be.sddevelopment.commons.validation with parameters of type FailureBuilderClause Constructor Description FieldValidationRule(Function<R,T> extractor, Function<T,Boolean> fieldAssertion, FailureBuilderClause<T> failureCreator)
-