@java.lang.Deprecated public interface ConstraintsEvaluator
Evaluates and returns constraints.
Type Params | Return Type | Name and description |
---|---|---|
|
public java.util.Map<java.lang.String, Constrained> |
evaluate(java.lang.Class cls) Evaluate constraints for the given class |
|
public java.util.Map<java.lang.String, Constrained> |
evaluate(java.lang.Class cls, boolean defaultNullable) Evaluate constraints for the given class |
|
public java.util.Map<java.lang.String, Constrained> |
evaluate(java.lang.Class<?> cls, boolean defaultNullable, boolean useOnlyAdHocConstraints, groovy.lang.Closure adHocConstraintsClosures) Evaluate constraints for the given class |
|
public java.util.Map<java.lang.String, java.lang.Object> |
getDefaultConstraints() The default constraints to use |
Evaluate constraints for the given class
cls
- The class to evaluate constraints forEvaluate constraints for the given class
cls
- The class to evaluate constraints fordefaultNullable
- indicates if properties are nullable by defaultEvaluate constraints for the given class
cls
- The class to evaluate constraints fordefaultNullable
- indicates if properties are nullable by defaultuseOnlyAdHocConstraints
- indicates if evaluating without pre-declared constraintsadHocConstraintsClosures
- ad-hoc constraints to evaluate forThe default constraints to use