public final class ServerControl.Cli extends Object
| Modifier and Type | Method and Description |
|---|---|
ServerControl.Cli |
disconnected(boolean disconnected) |
ProcessExecutionResults |
executeCliCommand(String commands)
Runs (a series of) CLI commands against the server.
|
ProcessExecutionResults |
executeCliScript(File scriptFile)
Runs the provided script against the server.
|
public ServerControl.Cli disconnected(boolean disconnected)
public ProcessExecutionResults executeCliCommand(String commands)
commands - the commands to execute in orderpublic ProcessExecutionResults executeCliScript(File scriptFile)
scriptFile - the script file to runCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.