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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.sshd.client.channel.ChannelExecprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionSshdExecProcess(org.apache.sshd.client.channel.ChannelExec channel, String commandName) -
Method Summary
Methods inherited from class java.lang.Process
children, descendants, destroyForcibly, errorReader, errorReader, info, inputReader, inputReader, isAlive, onExit, outputWriter, outputWriter, pid, supportsNormalTermination, toHandle
-
Field Details
-
channel
private final org.apache.sshd.client.channel.ChannelExec channel -
commandName
-
-
Constructor Details
-
SshdExecProcess
-
-
Method Details
-
getOutputStream
- Specified by:
getOutputStreamin classProcess
-
getInputStream
- Specified by:
getInputStreamin classProcess
-
getErrorStream
- Specified by:
getErrorStreamin classProcess
-
waitFor
- Specified by:
waitForin classProcess- Throws:
InterruptedException
-
waitFor
- Overrides:
waitForin classProcess- Throws:
InterruptedException
-
exitValue
public int exitValue() -
destroy
public void destroy()
-