org.hibernate.validator.ap.checks

## Interface ConstraintChecks

- All Known Implementing Classes:
    MultiValuedChecks, SingleValuedChecks

      public interface ConstraintChecks

  Represents an ordered set of `ConstraintCheck`s with the ability to execute these checks against given elements and their annotations.
  Author:
    Gunnar Morling

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Set<ConstraintCheckError>` | `execute(Element element, AnnotationMirror annotation)` Executes the checks contained within this set against the given element and annotation.

- - ### Method Detail

    - #### execute

          Set<ConstraintCheckError> execute(Element element,
                                          AnnotationMirror annotation)

      Executes the checks contained within this set against the given element and annotation.
      Parameters:
        `element` - An annotated element.
        `annotation` - The annotation to check.
      Returns:
        A set with errors. Will be empty in case all checks passed successfully.

Copyright © 2007-2014 Red Hat, Inc. All Rights Reserved