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

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String message
      The message to be logged if this constraint is violated.
    • Element Detail

      • message

        java.lang.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"