Class ConversationSelector.ConversationsParser<C>
java.lang.Object
rocks.gravili.notquests.spigot.commands.arguments.ConversationSelector.ConversationsParser<C>
- All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,
Conversation>
- Enclosing class:
- ConversationSelector<C>
public static final class ConversationSelector.ConversationsParser<C>
extends Object
implements cloud.commandframework.arguments.parser.ArgumentParser<C,Conversation>
-
Field Summary
Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
DEFAULT_ARGUMENT_COUNT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
@NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<Conversation>
parse
(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> context, @NonNull Queue<@NonNull String> inputQueue) suggestions
(cloud.commandframework.context.CommandContext<C> context, String input) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cloud.commandframework.arguments.parser.ArgumentParser
getRequestedArgumentCount, map
-
Constructor Details
-
ConversationsParser
Constructs a new PluginsParser.
-
-
Method Details
-
suggestions
@NotNull public List<String> suggestions(@NotNull cloud.commandframework.context.CommandContext<C> context, @NotNull String input) - Specified by:
suggestions
in interfacecloud.commandframework.arguments.parser.ArgumentParser<C,
Conversation>
-
parse
public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<Conversation> parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> context, @NonNull Queue<@NonNull String> inputQueue) - Specified by:
parse
in interfacecloud.commandframework.arguments.parser.ArgumentParser<C,
Conversation>
-
isContextFree
public boolean isContextFree()- Specified by:
isContextFree
in interfacecloud.commandframework.arguments.parser.ArgumentParser<C,
Conversation>
-