public interface CommandExecutor
| 限定符和类型 | 方法和说明 |
|---|---|
String |
execute(CommandContext commandContext)
Execute one command and return the execution result
|
String execute(CommandContext commandContext) throws NoSuchCommandException, PermissionDenyException
commandContext - command contextNoSuchCommandExceptionPermissionDenyExceptionCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.