public class DurationArgumentResolver<SENDER> extends ArgumentResolver<SENDER,UNIT>
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<java.lang.String> |
SUGGESTIONS_LIST |
| Constructor and Description |
|---|
DurationArgumentResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected ParseResult<UNIT> |
parse(Invocation<SENDER> invocation,
Argument<UNIT> context,
java.lang.String argument) |
SuggestionResult |
suggest(Invocation<SENDER> invocation,
Argument<UNIT> argument,
SuggestionContext context) |
getRange, match, match, parseprotected ParseResult<UNIT> parse(Invocation<SENDER> invocation, Argument<UNIT> context, java.lang.String argument)
parse in class ArgumentResolver<SENDER,UNIT extends java.time.temporal.TemporalAmount>public SuggestionResult suggest(Invocation<SENDER> invocation, Argument<UNIT> argument, SuggestionContext context)