Annotation Type Pattern

    • Element Detail

      • regexp

        String regexp
        Returns:
        the regular expression to match
      • flags

        Pattern.Flag[] flags
        Returns:
        array of Flags considered when resolving the regular expression
        Default:
        {}
      • message

        String message
        Returns:
        the error message template
        Default:
        "{jakarta.validation.constraints.Pattern.message}"
      • groups

        Class<?>[] groups
        Returns:
        the groups the constraint belongs to
        Default:
        {}
      • payload

        Class<? extends Payload>[] payload
        Returns:
        the payload associated to the constraint
        Default:
        {}