Package dev.rollczi.litecommands.join
Class JoinArgumentResolver<SENDER,T>
java.lang.Object
dev.rollczi.litecommands.join.JoinArgumentResolver<SENDER,T>
- All Implemented Interfaces:
Parser<SENDER,,RawInput, T> TypedParser<SENDER,,RawInput, T, JoinArgument<T>> Rangeable<Argument<T>>
- Direct Known Subclasses:
JoinStringArgumentResolver
public abstract class JoinArgumentResolver<SENDER,T>
extends Object
implements TypedParser<SENDER,RawInput,T,JoinArgument<T>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTypedRange(JoinArgument<T> argument) protected abstract Tjoin(JoinArgument<T> argument, List<String> values) parseTyped(Invocation<SENDER> invocation, JoinArgument<T> argument, RawInput rawInput) 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.TypedParser
getRange, parse
-
Constructor Details
-
JoinArgumentResolver
public JoinArgumentResolver()
-
-
Method Details
-
getArgumentType
- Specified by:
getArgumentTypein interfaceTypedParser<SENDER,RawInput, T, JoinArgument<T>>
-
getInputType
- Specified by:
getInputTypein interfaceParser<SENDER,RawInput, T>
-
parseTyped
public ParseResult<T> parseTyped(Invocation<SENDER> invocation, JoinArgument<T> argument, RawInput rawInput) - Specified by:
parseTypedin interfaceTypedParser<SENDER,RawInput, T, JoinArgument<T>>
-
join
-
getTypedRange
- Specified by:
getTypedRangein interfaceTypedParser<SENDER,RawInput, T, JoinArgument<T>>
-