Annotation Type NotBlank


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface NotBlank
    An annotation that marks that an options values must not be blank i.e. empty or all whitespace

    If you just wish to require that the value be non-empty use NotEmpty instead.