Class ChannelArgument.MessageParser<C>

  • All Implemented Interfaces:
    cloud.commandframework.arguments.parser.ArgumentParser<C,​net.dv8tion.jda.api.entities.MessageChannel>
    Enclosing class:
    ChannelArgument<C>

    public static final class ChannelArgument.MessageParser<C>
    extends java.lang.Object
    implements cloud.commandframework.arguments.parser.ArgumentParser<C,​net.dv8tion.jda.api.entities.MessageChannel>
    • Field Summary

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

        DEFAULT_ARGUMENT_COUNT
    • Method Summary

      Modifier and Type Method Description
      boolean isContextFree()  
      @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<net.dv8tion.jda.api.entities.MessageChannel> parse​(@NonNull cloud.commandframework.context.CommandContext<C> commandContext, @NonNull java.util.Queue<@NonNull java.lang.String> inputQueue)  
      • 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, suggestions
    • Method Detail

      • parse

        public @NonNull cloud.commandframework.arguments.parser.ArgumentParseResult<net.dv8tion.jda.api.entities.MessageChannel> parse​(@NonNull cloud.commandframework.context.CommandContext<C> commandContext,
                                                                                                                                       @NonNull java.util.Queue<@NonNull java.lang.String> inputQueue)
        Specified by:
        parse in interface cloud.commandframework.arguments.parser.ArgumentParser<C,​net.dv8tion.jda.api.entities.MessageChannel>
      • isContextFree

        public boolean isContextFree()
        Specified by:
        isContextFree in interface cloud.commandframework.arguments.parser.ArgumentParser<C,​net.dv8tion.jda.api.entities.MessageChannel>