public class FlagArgumentResolver<SENDER> extends TypedArgumentResolver<SENDER,java.lang.Boolean,FlagArgument>
| Constructor and Description |
|---|
FlagArgumentResolver() |
| Modifier and Type | Method and Description |
|---|---|
Range |
getTypedRange(FlagArgument argument) |
ParseResult<java.lang.Boolean> |
parseTyped(Invocation<SENDER> invocation,
FlagArgument argument,
RawInput rawInput) |
SuggestionResult |
suggestTyped(Invocation<SENDER> invocation,
FlagArgument argument,
SuggestionContext context) |
getArgumentTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRange, parsecanParse, matchParsesuggestpublic ParseResult<java.lang.Boolean> parseTyped(Invocation<SENDER> invocation, FlagArgument argument, RawInput rawInput)
public Range getTypedRange(FlagArgument argument)
public SuggestionResult suggestTyped(Invocation<SENDER> invocation, FlagArgument argument, SuggestionContext context)