Annotation Interface IntRangeParser
@Target({METHOD,TYPE})
@Retention(RUNTIME)
@AvailableSince("0.0.30")
public @interface IntRangeParser
A parser that parses an integer range
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
from
int fromLower bound of the range (excl)- Returns:
- the lower bound of the range
- Default:
0
-
to
int toUpper bound of the range (excl)- Returns:
- the upper bound of the range
-
step
int stepInput int must be divisible by this number- Returns:
- step
- Default:
1
-
keyword
String keywordKeyword for the parser, default is "range"- Returns:
- the keyword for the parser
- See Also:
- Default:
"range"
-
priority
int priorityParser priority- Returns:
- the priority of the parser
- See Also:
- Default:
0
-