Module com.github.rvesse.airline
Annotation Type ExactLength
-
@Retention(RUNTIME) @Target(FIELD) public @interface ExactLengthAnnotation that marks that an options value is restricted to being an exact lengthIf you simply wish to require that an option have a minimum length then use
MinLengthinstead, similarlyMaxLengthfor maximum length. Alternatively for a range of lengths you can useLengthRange.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description intlengthExact required length in characters
-