Module com.github.rvesse.airline
Annotation Interface ExactLength
Annotation that marks that an options value is restricted to being an exact
length
If you simply wish to require that an option have a minimum length then use
MinLength
instead, similarly MaxLength
for maximum length.
Alternatively for a range of lengths you can use LengthRange
.
-
Required Element Summary
Required Elements
-
Element Details
-
length
int lengthExact required length in characters- Returns:
- Exact length
-