public class DefaultCommandExecutor extends Object implements CommandExecutor
| Constructor and Description |
|---|
DefaultCommandExecutor() |
| Modifier and Type | Method and Description |
|---|---|
String |
execute(CommandContext commandContext)
Execute one command and return the execution result
|
public String execute(CommandContext commandContext) throws NoSuchCommandException
CommandExecutorexecute in interface CommandExecutorcommandContext - command contextNoSuchCommandExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.