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)
User-initiated commands use this method.
|
public CommandExecutor(CliGuiContext cliGuiCtx)
public org.jboss.dmr.ModelNode doCommand(String command) throws CommandFormatException, IOException
command
- The CLI commandCommandFormatException
IOException
public CommandExecutor.Response doCommandFullResponse(String command) throws CommandFormatException, IOException
command
- The CLI commandCommandFormatException
IOException
Copyright © 2023 JBoss by Red Hat. All rights reserved.