public class BooleanArgumentResolver<SENDER> extends ArgumentResolver<SENDER,java.lang.Boolean>
| Constructor and Description |
|---|
BooleanArgumentResolver() |
BooleanArgumentResolver(java.util.Collection<java.lang.String> trueValues,
java.util.Collection<java.lang.String> falseValues) |
| Modifier and Type | Method and Description |
|---|---|
protected ParseResult<java.lang.Boolean> |
parse(Invocation<SENDER> invocation,
Argument<java.lang.Boolean> context,
java.lang.String argument) |
SuggestionResult |
suggest(Invocation<SENDER> invocation,
Argument<java.lang.Boolean> argument,
SuggestionContext context) |
getRange, parseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanParse, matchParsepublic BooleanArgumentResolver()
public BooleanArgumentResolver(java.util.Collection<java.lang.String> trueValues,
java.util.Collection<java.lang.String> falseValues)
protected ParseResult<java.lang.Boolean> parse(Invocation<SENDER> invocation, Argument<java.lang.Boolean> context, java.lang.String argument)
parse in class ArgumentResolver<SENDER,java.lang.Boolean>public SuggestionResult suggest(Invocation<SENDER> invocation, Argument<java.lang.Boolean> argument, SuggestionContext context)