Module com.github.rvesse.airline
Annotation Interface MinOccurrences
Annotation that marks an option as being required to occur some minimum
number of times (inclusive)
If you simply wish to indicate that an option must occur use Required
instead.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionint
The minimum number of occurrences for this option
-
Element Details
-
occurrences
int occurrencesThe minimum number of occurrences for this optionZero or negative values are ignored
- Returns:
- Min occurrences
- Default:
0
-