public class CommandExecutor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CommandExecutor.Response |
| Constructor and Description |
|---|
CommandExecutor(CliGuiContext cliGuiCtx) |
| Modifier and Type | Method and Description |
|---|---|
org.jboss.dmr.ModelNode |
doCommand(String command)
Submit a command to the server.
|
CommandExecutor.Response |
doCommandFullResponse(String command) |
public CommandExecutor(CliGuiContext cliGuiCtx)
public org.jboss.dmr.ModelNode doCommand(String command) throws CommandFormatException, IOException
command - The CLI commandCommandFormatExceptionIOExceptionpublic CommandExecutor.Response doCommandFullResponse(String command) throws CommandFormatException, IOException
CommandFormatExceptionIOExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.