private class TransportGitSsh.ExtSession extends java.lang.Object implements RemoteSession
| Modifier | Constructor and Description |
|---|---|
private |
ExtSession() |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.ProcessBuilder |
createProcess(java.util.List<java.lang.String> args) |
void |
disconnect()
Disconnect the remote session
|
java.lang.Process |
exec(java.lang.String command,
int timeout)
Generate a new remote process to execute the given command.
|
public java.lang.Process exec(java.lang.String command,
int timeout)
throws TransportException
RemoteSessionexec in interface RemoteSessioncommand - command to executetimeout - timeout value, in seconds, for command executionTransportExceptionprivate java.lang.ProcessBuilder createProcess(java.util.List<java.lang.String> args)
public void disconnect()
RemoteSessiondisconnect in interface RemoteSession