Class QuestSelector.QuestsParser<C>

java.lang.Object
rocks.gravili.notquests.paper.commands.arguments.QuestSelector.QuestsParser<C>
All Implemented Interfaces:
cloud.commandframework.arguments.parser.ArgumentParser<C,Quest>
Enclosing class:
QuestSelector<C>

public static final class QuestSelector.QuestsParser<C> extends Object implements cloud.commandframework.arguments.parser.ArgumentParser<C,Quest>
  • Field Summary

    Fields inherited from interface cloud.commandframework.arguments.parser.ArgumentParser

    DEFAULT_ARGUMENT_COUNT
  • Constructor Summary

    Constructors
    Constructor
    Description
    QuestsParser(NotQuests main, boolean takeEnabledOnly)
    Constructs a new PluginsParser.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<Quest>
    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

    • QuestsParser

      public QuestsParser(NotQuests main, boolean takeEnabledOnly)
      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 interface cloud.commandframework.arguments.parser.ArgumentParser<C,Quest>
    • parse

      public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<Quest> parse(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> context, @NonNull Queue<@NonNull String> inputQueue)
      Specified by:
      parse in interface cloud.commandframework.arguments.parser.ArgumentParser<C,Quest>
    • isContextFree

      public boolean isContextFree()
      Specified by:
      isContextFree in interface cloud.commandframework.arguments.parser.ArgumentParser<C,Quest>