Package alluxio.shell
Class SshCommand
- java.lang.Object
-
- alluxio.shell.ShellCommand
-
- alluxio.shell.SshCommand
-
@NotThreadSafe public class SshCommand extends ShellCommand
Object representation of a remote shell command by SSH.
-
-
Constructor Summary
Constructors Constructor Description SshCommand(java.lang.String hostname, java.lang.String[] execString)
Creates a SshCommand instance from the remote hostname and command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getHostName()
Returns the remote target hostname.-
Methods inherited from class alluxio.shell.ShellCommand
getCommand, run, runWithOutput, toString
-
-