mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 14:28:46 +00:00
feat: 添加监控子命令描述
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
bd79d2013a
commit
8570ec55c9
@ -50,7 +50,7 @@ public class MonitorCommand implements HandlerCommands {
|
|||||||
cmdhandler.registerCommands(PluginTabComplete.instence);
|
cmdhandler.registerCommands(PluginTabComplete.instence);
|
||||||
}
|
}
|
||||||
|
|
||||||
@HandlerCommand(name = "cmd", minimumArguments = 1, possibleArguments = "插件名称")
|
@HandlerCommand(name = "cmd", description = "查看插件命令能耗", minimumArguments = 1, possibleArguments = "插件名称")
|
||||||
public void cmd(final InvokeCommandEvent e) {
|
public void cmd(final InvokeCommandEvent e) {
|
||||||
final String pname = e.getArgs()[0];
|
final String pname = e.getArgs()[0];
|
||||||
final CommandSender sender = e.getSender();
|
final CommandSender sender = e.getSender();
|
||||||
@ -87,7 +87,7 @@ public class MonitorCommand implements HandlerCommands {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@HandlerCommand(name = "event", minimumArguments = 1, possibleArguments = "插件名称")
|
@HandlerCommand(name = "event", description = "查看插件事件能耗", minimumArguments = 1, possibleArguments = "插件名称")
|
||||||
public void event(final InvokeCommandEvent e) throws InstantiationException, IllegalAccessException {
|
public void event(final InvokeCommandEvent e) throws InstantiationException, IllegalAccessException {
|
||||||
final String pname = e.getArgs()[0];
|
final String pname = e.getArgs()[0];
|
||||||
final CommandSender sender = e.getSender();
|
final CommandSender sender = e.getSender();
|
||||||
@ -133,7 +133,7 @@ public class MonitorCommand implements HandlerCommands {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@HandlerCommand(name = "task", minimumArguments = 1, possibleArguments = "插件名称")
|
@HandlerCommand(name = "task", description = "查看插件任务能耗", minimumArguments = 1, possibleArguments = "插件名称")
|
||||||
public void task(final InvokeCommandEvent e) {
|
public void task(final InvokeCommandEvent e) {
|
||||||
final String pname = e.getArgs()[0];
|
final String pname = e.getArgs()[0];
|
||||||
final CommandSender sender = e.getSender();
|
final CommandSender sender = e.getSender();
|
||||||
|
Loading…
Reference in New Issue
Block a user