Class ReloadCommand
java.lang.Object
com.github.theword.queqiao.tool.command.SubCommand
com.github.theword.queqiao.tool.command.subCommand.ReloadCommand
-
Field Summary
Fields inherited from class com.github.theword.queqiao.tool.command.SubCommand
children, parent -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.github.theword.queqiao.tool.command.SubCommand
addChild, execute, getChildren, getFullPath, getFullPermissionNode, getParent, getPermissionNode, getUsage, isRoot, sendCommandTree
-
Constructor Details
-
ReloadCommand
public ReloadCommand()
-
-
Method Details
-
getName
获取命令名称- Specified by:
getNamein classSubCommand- Returns:
- reload
-
getDescription
获取命令描述- Specified by:
getDescriptionin classSubCommand- Returns:
- 重载配置文件并重新连接所有 Websocket Client
-
onExecute
重载 WebSocket reload 命令调用- Specified by:
onExecutein classSubCommand- Parameters:
commandReturner- 命令执行者args- 命令参数
-