Class InstantArgumentResolver<SENDER>
java.lang.Object
dev.rollczi.litecommands.argument.resolver.standard.InstantArgumentResolver<SENDER>
- All Implemented Interfaces:
Parser<SENDER,,RawInput, Instant> RawInputParser<SENDER,,Instant> MultipleArgumentResolver<SENDER,,Instant> Suggester<SENDER,,Instant> Rangeable<Argument<Instant>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsuggest(Invocation<SENDER> invocation, Argument<Instant> argument, SuggestionContext context) Methods 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.RawInputParser
getInputType
-
Constructor Details
-
InstantArgumentResolver
-
-
Method Details
-
parse
public ParseResult<Instant> parse(Invocation<SENDER> invocation, Argument<Instant> argument, RawInput rawInput) - Specified by:
parsein interfaceParser<SENDER,RawInput, UNIT extends TemporalAccessor>
-
suggest
public SuggestionResult suggest(Invocation<SENDER> invocation, Argument<Instant> argument, SuggestionContext context) - Specified by:
suggestin interfaceMultipleArgumentResolver<SENDER,UNIT extends TemporalAccessor> - Specified by:
suggestin interfaceSuggester<SENDER,UNIT extends TemporalAccessor>
-
getRange
-