Class PunishmentTypeParser
java.lang.Object
de.jvstvshd.necrify.common.commands.PunishmentTypeParser
- All Implemented Interfaces:
org.incendo.cloud.parser.ArgumentParser<NecrifyUser,,PunishmentType> org.incendo.cloud.suggestion.SuggestionProviderHolder<NecrifyUser>
public class PunishmentTypeParser
extends Object
implements org.incendo.cloud.parser.ArgumentParser<NecrifyUser,PunishmentType>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested 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 org.incendo.cloud.parser.ArgumentParseResult<@NonNull PunishmentType> parse(@NonNull org.incendo.cloud.context.CommandContext<@NonNull NecrifyUser> commandContext, @NonNull org.incendo.cloud.context.CommandInput commandInput) @NonNull org.incendo.cloud.suggestion.SuggestionProvider<NecrifyUser> 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, parseFuture
-
Constructor Details
-
PunishmentTypeParser
public PunishmentTypeParser()
-
-
Method Details
-
parse
public @NonNull org.incendo.cloud.parser.ArgumentParseResult<@NonNull PunishmentType> parse(@NonNull org.incendo.cloud.context.CommandContext<@NonNull NecrifyUser> commandContext, @NonNull org.incendo.cloud.context.CommandInput commandInput) - Specified by:
parsein interfaceorg.incendo.cloud.parser.ArgumentParser<NecrifyUser,PunishmentType>
-
suggestionProvider
- Specified by:
suggestionProviderin interfaceorg.incendo.cloud.parser.ArgumentParser<NecrifyUser,PunishmentType> - Specified by:
suggestionProviderin interfaceorg.incendo.cloud.suggestion.SuggestionProviderHolder<NecrifyUser>
-