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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFtpChannel
public java.lang.Process exec(java.lang.String command, int timeout) throws TransportException
RemoteSession
exec
in interface RemoteSession
command
- command to executetimeout
- timeout value, in seconds, for command executionTransportException
private java.lang.ProcessBuilder createProcess(java.util.List<java.lang.String> args)
public void disconnect()
RemoteSession
disconnect
in interface RemoteSession