ConstraintEvaluatorAdapter (Grails 6.0.0)

Package: org.grails.plugins.domain.support

## [Java] Class ConstraintEvaluatorAdapter

- org.grails.plugins.domain.support.ConstraintEvaluatorAdapter

- All Implemented Interfaces and Traits:
    org.grails.datastore.gorm.validation.constraints.eval.ConstraintsEvaluator

      public class ConstraintEvaluatorAdapter
      extends java.lang.Object
      implements org.grails.datastore.gorm.validation.constraints.eval.ConstraintsEvaluator

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `private org.grails.datastore.gorm.validation.constraints.eval.ConstraintsEvaluator` | `constraintsEvaluator` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `ConstraintEvaluatorAdapter (org.grails.datastore.gorm.validation.constraints.eval.ConstraintsEvaluator constraintsEvaluator)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `private java.util.Map<java.lang.String, Constrained>` | `adapt(java.util.Map<java.lang.String, grails.gorm.validation.ConstrainedProperty> result)`
    `` | `public java.util.Map<java.lang.String, Constrained>` | `evaluate(java.lang.Class cls)`
    `` | `public java.util.Map<java.lang.String, Constrained>` | `evaluate(java.lang.Class cls, boolean defaultNullable)`
    `` | `public java.util.Map<java.lang.String, Constrained>` | `evaluate(java.lang.Class<?> cls, boolean defaultNullable, boolean useOnlyAdHocConstraints, groovy.lang.Closure adHocConstraintsClosures)`
    `` | `public java.util.Map<java.lang.String, java.lang.Object>` | `getDefaultConstraints()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()`

- - ### Field Detail

    - #### private final org.grails.datastore.gorm.validation.constraints.eval.ConstraintsEvaluator constraintsEvaluator

  - ### Constructor Detail

    - #### public ConstraintEvaluatorAdapter(org.grails.datastore.gorm.validation.constraints.eval.ConstraintsEvaluator constraintsEvaluator)

  - ### Method Detail

    - #### private java.util.Map<java.lang.String, Constrained> adapt(java.util.Map<java.lang.String, grails.gorm.validation.ConstrainedProperty> result)

    - #### @java.lang.Override public java.util.Map<java.lang.String, Constrained> evaluate(java.lang.Class cls)

    - #### @java.lang.Override public java.util.Map<java.lang.String, Constrained> evaluate(java.lang.Class cls, boolean defaultNullable)

    - #### @java.lang.Override public java.util.Map<java.lang.String, Constrained> evaluate(java.lang.Class<?> cls, boolean defaultNullable, boolean useOnlyAdHocConstraints, groovy.lang.Closure adHocConstraintsClosures)

    - #### @java.lang.Override public java.util.Map<java.lang.String, java.lang.Object> getDefaultConstraints()