Package dev.rollczi.litecommands.flag
Class FlagArgumentResolver<SENDER>
java.lang.Object
dev.rollczi.litecommands.argument.resolver.TypedArgumentResolver<SENDER,Boolean,FlagArgument>
dev.rollczi.litecommands.flag.FlagArgumentResolver<SENDER>
- All Implemented Interfaces:
Parser<SENDER,,RawInput, Boolean> TypedParser<SENDER,,RawInput, Boolean, FlagArgument> ArgumentResolverBase<SENDER,,RawInput, Boolean> Suggester<SENDER,,Boolean> TypedSuggester<SENDER,,Boolean, FlagArgument> Rangeable<Argument<Boolean>>
public class FlagArgumentResolver<SENDER>
extends TypedArgumentResolver<SENDER,Boolean,FlagArgument>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTypedRange(FlagArgument argument) parseTyped(Invocation<SENDER> invocation, FlagArgument argument, RawInput rawInput) suggestTyped(Invocation<SENDER> invocation, FlagArgument argument, SuggestionContext context) Methods inherited from class dev.rollczi.litecommands.argument.resolver.TypedArgumentResolver
getArgumentType, getInputTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.rollczi.litecommands.argument.parser.TypedParser
getRange, parseMethods inherited from interface dev.rollczi.litecommands.argument.suggester.TypedSuggester
suggest
-
Constructor Details
-
FlagArgumentResolver
public FlagArgumentResolver()
-
-
Method Details
-
parseTyped
public ParseResult<Boolean> parseTyped(Invocation<SENDER> invocation, FlagArgument argument, RawInput rawInput) -
getTypedRange
-
suggestTyped
public SuggestionResult suggestTyped(Invocation<SENDER> invocation, FlagArgument argument, SuggestionContext context)
-