Class TransportGitSsh.ExtSession

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private ExtSession()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtSession

        private ExtSession()
    • Method Detail

      • exec

        public java.lang.Process exec​(java.lang.String command,
                                      int timeout)
                               throws TransportException
        Description copied from interface: RemoteSession
        Generate a new remote process to execute the given command. This function should also start execution and may need to create the streams prior to execution.
        Specified by:
        exec in interface RemoteSession
        Parameters:
        command - command to execute
        timeout - timeout value, in seconds, for command execution
        Returns:
        a new remote process
        Throws:
        TransportException
      • createProcess

        private java.lang.ProcessBuilder createProcess​(java.util.List<java.lang.String> args)