Annotation Type NotBlank
-
@Documented @Retention(RUNTIME) @Target({FIELD,PARAMETER}) @Constraint(NotBlankValidator.class) public @interface NotBlank
Marks a plugin builder field or plugin factory parameter of typeCharSequence
that can not be blank.- Since:
- 2.18.0
-
-
Element Detail
-
message
String message
The message to be logged if this constraint is violated. This should normally be overridden. It may contain a {} placeholder for the field's name.- Default:
- "{} is blank"
-
-