Package org.eclipse.jgit.transport.sshd
Class SshdSession.SshdExecProcess
- java.lang.Object
-
- java.lang.Process
-
- org.eclipse.jgit.transport.sshd.SshdSession.SshdExecProcess
-
- Enclosing class:
- SshdSession
private static class SshdSession.SshdExecProcess extends java.lang.Process
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.sshd.client.channel.ChannelExecchannelprivate java.lang.StringcommandName
-
Constructor Summary
Constructors Constructor Description SshdExecProcess(org.apache.sshd.client.channel.ChannelExec channel, java.lang.String commandName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()intexitValue()java.io.InputStreamgetErrorStream()java.io.InputStreamgetInputStream()java.io.OutputStreamgetOutputStream()intwaitFor()booleanwaitFor(long timeout, java.util.concurrent.TimeUnit unit)
-
-
-
Method Detail
-
getOutputStream
public java.io.OutputStream getOutputStream()
- Specified by:
getOutputStreamin classjava.lang.Process
-
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStreamin classjava.lang.Process
-
getErrorStream
public java.io.InputStream getErrorStream()
- Specified by:
getErrorStreamin classjava.lang.Process
-
waitFor
public int waitFor() throws java.lang.InterruptedException- Specified by:
waitForin classjava.lang.Process- Throws:
java.lang.InterruptedException
-
waitFor
public boolean waitFor(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException- Overrides:
waitForin classjava.lang.Process- Throws:
java.lang.InterruptedException
-
exitValue
public int exitValue()
- Specified by:
exitValuein classjava.lang.Process
-
destroy
public void destroy()
- Specified by:
destroyin classjava.lang.Process
-
-