Package org.apache.dubbo.qos.command
Interface CommandExecutor
- All Known Implementing Classes:
DefaultCommandExecutor
public interface CommandExecutor
-
Method Summary
Modifier and TypeMethodDescriptionexecute(CommandContext commandContext) Execute one command and return the execution result
-
Method Details
-
execute
String execute(CommandContext commandContext) throws NoSuchCommandException, PermissionDenyException Execute one command and return the execution result- Parameters:
commandContext- command context- Returns:
- command execution result
- Throws:
NoSuchCommandExceptionPermissionDenyException
-