Class PunishmentParser
java.lang.Object
de.jvstvshd.necrify.common.commands.PunishmentParser
- All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,,de.jvstvshd.necrify.api.punishment.Punishment> org.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,,de.jvstvshd.necrify.api.punishment.Punishment> org.incendo.cloud.suggestion.SuggestionProviderHolder<de.jvstvshd.necrify.api.user.NecrifyUser>
public class PunishmentParser
extends Object
implements org.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,de.jvstvshd.necrify.api.punishment.Punishment>
-
Nested Class Summary
Nested ClassesNested 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.punishment.Punishment>> 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
-
PunishmentParser
public PunishmentParser(de.jvstvshd.necrify.api.Necrify necrify)
-
-
Method Details
-
parseFuture
public @NonNull CompletableFuture<@NonNull org.incendo.cloud.parser.ArgumentParseResult<de.jvstvshd.necrify.api.punishment.Punishment>> 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.punishment.Punishment> - Specified by:
parseFuturein interfaceorg.incendo.cloud.parser.ArgumentParser.FutureArgumentParser<de.jvstvshd.necrify.api.user.NecrifyUser,de.jvstvshd.necrify.api.punishment.Punishment>
-