public class SSHProcessExecutor extends ProcessExecutor
Modifier and Type | Method and Description |
---|---|
static ProcessExecutor |
createExecutorPrintOutput(String commandName,
InetAddress host,
List<String> command) |
static ProcessExecutor |
createExecutorPrintOutput(String commandName,
InetAddress host,
String... command) |
static ProcessExecutor |
createExecutorSaveOutput(String commandName,
InetAddress host,
List<String> command) |
static ProcessExecutor |
createExecutorSaveOutput(String commandName,
InetAddress host,
String... command) |
boolean |
isRunningRemotely() |
executeAndWaitCompletion, getErrorOutput, getExitCode, getOutput, isProcessFinished, killProcess, start
public static ProcessExecutor createExecutorSaveOutput(String commandName, InetAddress host, String... command)
public static ProcessExecutor createExecutorSaveOutput(String commandName, InetAddress host, List<String> command)
public static ProcessExecutor createExecutorPrintOutput(String commandName, InetAddress host, String... command)
public static ProcessExecutor createExecutorPrintOutput(String commandName, InetAddress host, List<String> command)
public boolean isRunningRemotely()
isRunningRemotely
in class ProcessExecutor