public interface ConstraintsEvaluator
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME |
| Modifier and Type | Method and Description |
|---|---|
Map<String,ConstrainedProperty> |
evaluate(Class<?> cls)
Evaluate constraints for the given class
|
Map<String,ConstrainedProperty> |
evaluate(Class<?> cls,
Property[] properties)
Evaluate constraints for the given Class and properties
|
Map<String,ConstrainedProperty> |
evaluate(Object object,
Property[] properties)
Evaluate constraints for the given object and properties
|
static final String PROPERTY_NAME
@Nonnull Map<String,ConstrainedProperty> evaluate(@Nonnull Class<?> cls)
cls - The class to evaluate constraints for@Nonnull Map<String,ConstrainedProperty> evaluate(@Nonnull Object object, @Nonnull Property[] properties)
object - The objectproperties - The validatable class properties