Class NecrifyUserParser
java.lang.Object
de.jvstvshd.necrify.common.commands.NecrifyUserParser
- All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,,de.jvstvshd.necrify.api.user.NecrifyUser> org.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,,de.jvstvshd.necrify.api.user.NecrifyUser> org.incendo.cloud.suggestion.SuggestionProviderHolder<de.jvstvshd.necrify.api.user.NecrifyUser>
public class NecrifyUserParser
extends Object
implements org.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,de.jvstvshd.necrify.api.user.NecrifyUser>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.incendo.cloud.parser.ArgumentParser
org.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<C,T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull CompletableFuture<@NonNull org.incendo.cloud.parser.ArgumentParseResult<de.jvstvshd.necrify.api.user.NecrifyUser>> parseFuture(@NonNull org.incendo.cloud.context.CommandContext<de.jvstvshd.necrify.api.user.NecrifyUser> commandContext, @NonNull org.incendo.cloud.context.CommandInput commandInput) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.incendo.cloud.parser.ArgumentParser
flatMap, flatMapSuccess, mapSuccess, suggestionProviderMethods inherited from interface org.incendo.cloud.parser.ArgumentParser.FutureArgumentParser
parse
-
Constructor Details
-
NecrifyUserParser
public NecrifyUserParser(de.jvstvshd.necrify.api.user.UserManager userManager)
-
-
Method Details
-
parseFuture
public @NonNull CompletableFuture<@NonNull org.incendo.cloud.parser.ArgumentParseResult<de.jvstvshd.necrify.api.user.NecrifyUser>> parseFuture(@NonNull org.incendo.cloud.context.CommandContext<de.jvstvshd.necrify.api.user.NecrifyUser> commandContext, @NonNull org.incendo.cloud.context.CommandInput commandInput) - Specified by:
parseFuturein interfaceorg.incendo.cloud.parser.ArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,de.jvstvshd.necrify.api.user.NecrifyUser> - Specified by:
parseFuturein interfaceorg.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,de.jvstvshd.necrify.api.user.NecrifyUser>
-