public class ConstraintCheck<T> extends Object
| Constructor and Description |
|---|
ConstraintCheck(T theObject,
Check... checks) |
ConstraintCheck(T theObject,
String fieldLabel,
Check... checks) |
| Modifier and Type | Method and Description |
|---|---|
ConstraintCheck<T> |
addChecks(Check... checks) |
static <T> ConstraintCheck<T> |
defaultFor(T toCheck,
T defaultValue) |
T |
evaluate() |
ConstraintCheck<T> |
withDefault(T theDefault) |
public static <T> ConstraintCheck<T> defaultFor(T toCheck, T defaultValue)
public ConstraintCheck<T> withDefault(T theDefault)
public ConstraintCheck<T> addChecks(Check... checks)
public T evaluate()
Copyright © 2020. All Rights Reserved.