Class Finder

  • All Implemented Interfaces:
    jakarta.validation.metadata.ElementDescriptor.ConstraintFinder

    class Finder
    extends Object
    implements jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
    • Constructor Detail

      • Finder

        Finder​(GroupsComputer groupsComputer,
               jakarta.validation.metadata.ElementDescriptor owner)
    • Method Detail

      • unorderedAndMatchingGroups

        public jakarta.validation.metadata.ElementDescriptor.ConstraintFinder unorderedAndMatchingGroups​(Class<?>... groups)
        Specified by:
        unorderedAndMatchingGroups in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
      • lookingAt

        public jakarta.validation.metadata.ElementDescriptor.ConstraintFinder lookingAt​(jakarta.validation.metadata.Scope scope)
        Specified by:
        lookingAt in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
      • declaredOn

        public jakarta.validation.metadata.ElementDescriptor.ConstraintFinder declaredOn​(ElementType... types)
        Specified by:
        declaredOn in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
      • getConstraintDescriptors

        public Set<jakarta.validation.metadata.ConstraintDescriptor<?>> getConstraintDescriptors()
        Specified by:
        getConstraintDescriptors in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder
      • hasConstraints

        public boolean hasConstraints()
        Specified by:
        hasConstraints in interface jakarta.validation.metadata.ElementDescriptor.ConstraintFinder