Module com.github.rvesse.airline
Annotation Interface LexicalRange
Annotation that marks values as being restricted to a given lexical range
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionThe locale used for comparisonsMaximum value, the empty string is interpreted as no maximumboolean
Whether the maximum is inclusiveMinimum value, the empty string is interpreted as no minimumboolean
Whether the minimum is inclusive
-
Element Details
-
min
String minMinimum value, the empty string is interpreted as no minimum- Returns:
- Minimum value
- Default:
""
-
max
String maxMaximum value, the empty string is interpreted as no maximum- Returns:
- Maximum value
- Default:
""
-
minInclusive
boolean minInclusiveWhether the minimum is inclusive- Returns:
- True if inclusive, false if exclusive
- Default:
true
-
maxInclusive
boolean maxInclusiveWhether the maximum is inclusive- Returns:
- True if inclusive, false if exclusive
- Default:
true
-
locale
String localeThe locale used for comparisons- Returns:
- Locale BCP47 tag
- Default:
"en"
-