Class ServerArgument.ServerParser<C>

  • All Implemented Interfaces:
    cloud.commandframework.arguments.parser.ArgumentParser<C,​net.md_5.bungee.api.config.ServerInfo>
    Enclosing class:
    ServerArgument<C>

    public static final class ServerArgument.ServerParser<C>
    extends java.lang.Object
    implements cloud.commandframework.arguments.parser.ArgumentParser<C,​net.md_5.bungee.api.config.ServerInfo>
    • Field Summary

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

        DEFAULT_ARGUMENT_COUNT
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull net.md_5.bungee.api.config.ServerInfo> parse​(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext, @NonNull java.util.Queue<@NonNull java.lang.String> inputQueue)  
      @NonNull java.util.List<@NonNull java.lang.String> suggestions​(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull java.lang.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, isContextFree
    • Constructor Detail

      • ServerParser

        public ServerParser()
    • Method Detail

      • parse

        public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<@NonNull net.md_5.bungee.api.config.ServerInfo> parse​(@NonNull cloud.commandframework.context.CommandContext<@NonNull C> commandContext,
                                                                                                                                          @NonNull java.util.Queue<@NonNull java.lang.String> inputQueue)
        Specified by:
        parse in interface cloud.commandframework.arguments.parser.ArgumentParser<C,​net.md_5.bungee.api.config.ServerInfo>
      • suggestions

        public @NonNull java.util.List<@NonNull java.lang.String> suggestions​(@NonNull cloud.commandframework.context.CommandContext<C> commandContext,
                                                                              @NonNull java.lang.String input)
        Specified by:
        suggestions in interface cloud.commandframework.arguments.parser.ArgumentParser<C,​net.md_5.bungee.api.config.ServerInfo>