Annotation Type NotBlank


  • @Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
    @Retention(RUNTIME)
    @Documented
    @API(status=MAINTAINED,
         since="1.5.0")
    public @interface NotBlank
    Constrain a string to never be blank, i.e. not empty and not just whitespace. Applies to String parameters which are also annotated with @ForAll.
    See Also:
    ForAll, NotEmpty