Module com.github.rvesse.airline
Annotation Type MinLength
-
@Retention(RUNTIME) @Target(FIELD) public @interface MinLength
Annotation that marks that an options value is restricted to a minimum length (which is inclusive)If you simply wish to require that an option have a non-empty value then use
NotEmpty
instead. Alternatively for a range of lengths you can useLengthRange
or for an exact length you can useExactLength
.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
length
Minimum required length (inclusive)
-