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 type
CharSequence
that can not be blank.- Since:
- 2.18.0
-
Optional Element Summary
-
Element Details
-
message
String messageThe 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"
-