org.solidcoding.validation.api.RuleBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of solidcoding-validation Show documentation
Show all versions of solidcoding-validation Show documentation
A small package that enables validation of (business) rules through a fluent API.
package org.solidcoding.validation.api;
import java.util.function.Predicate;
public interface RuleBuilder {
RuleBuilder and(Predicate rule);
Rule otherWiseReport(String failMessage, Object... formatArguments);
}