org.solidcoding.validation.api.MakeSure 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;
public final class MakeSure {
private MakeSure() {
}
/**
* @param value the value on which to apply the rules.
* @param the type of the value.
* @return a Validator to add rules to.
*/
public static ValidationBuilder that(T value) {
return new RuleValidationBuilder<>(value);
}
}