All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.tinkoff.kora.validation.common.annotation.NotBlank Maven / Gradle / Ivy

There is a newer version: 1.1.9
Show newest version
package ru.tinkoff.kora.validation.common.annotation;

import ru.tinkoff.kora.validation.common.constraint.factory.NotBlankValidatorFactory;

import java.lang.annotation.*;

/**
 * The annotated element must not be {@code null} and must contain at least one non-whitespace character
 * 

* Supported types are: *

    *
  • {@code CharSequence} (at least one non-whitespace character)
  • *
  • {@code String} (at least one non-whitespace character)
  • *
*/ @Documented @Retention(value = RetentionPolicy.CLASS) @Target(value = {ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER}) @ValidatedBy(NotBlankValidatorFactory.class) public @interface NotBlank { }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy