Class CommandExecutorImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void executeCommand​(@NotNull java.lang.CharSequence commandLine)
      Executes a command or a list of commands.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CommandExecutorImpl

        public CommandExecutorImpl​(@NotNull
                                   @NotNull CommandQueue commandQueue,
                                   @NotNull
                                   @NotNull Commands commands)
        Creates a new instance.
        Parameters:
        commandQueue - the command queue for sending commands
        commands - the commands to consider
    • Method Detail

      • executeCommand

        public void executeCommand​(@NotNull
                                   @NotNull java.lang.CharSequence commandLine)
        Description copied from interface: CommandExecutor
        Executes a command or a list of commands. The commands may be a client- or a server-sided command.
        Specified by:
        executeCommand in interface CommandExecutor
        Parameters:
        commandLine - the commands to execute