java.lang.Object
com.github.theword.queqiao.tool.command.SubCommand
com.github.theword.queqiao.tool.command.subCommand.ReloadCommand

public class ReloadCommand extends SubCommand
  • Constructor Details

    • ReloadCommand

      public ReloadCommand()
  • Method Details

    • getName

      public String getName()
      获取命令名称
      Specified by:
      getName in class SubCommand
      Returns:
      reload
    • getDescription

      public String getDescription()
      获取命令描述
      Specified by:
      getDescription in class SubCommand
      Returns:
      重载配置文件并重新连接所有 Websocket Client
    • onExecute

      protected void onExecute(Object commandReturner, List<String> args)
      重载 WebSocket reload 命令调用
      Specified by:
      onExecute in class SubCommand
      Parameters:
      commandReturner - 命令执行者
      args - 命令参数