Package com.atlassian.bamboo.ssh
Class DummySilentHangingCommand
- java.lang.Object
-
- com.atlassian.bamboo.ssh.DummySilentHangingCommand
-
- All Implemented Interfaces:
org.apache.sshd.server.command.Command
,org.apache.sshd.server.command.CommandDirectErrorStreamAware
,org.apache.sshd.server.command.CommandDirectInputStreamAware
,org.apache.sshd.server.command.CommandDirectOutputStreamAware
,org.apache.sshd.server.command.CommandDirectStreamsAware
,org.apache.sshd.server.command.CommandLifecycle
public class DummySilentHangingCommand extends Object implements org.apache.sshd.server.command.Command
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DummySilentHangingCommand.Factory
-
Constructor Summary
Constructors Constructor Description DummySilentHangingCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy(org.apache.sshd.server.channel.ChannelSession session)
void
setErrorStream(OutputStream err)
void
setExitCallback(org.apache.sshd.server.ExitCallback callback)
void
setInputStream(InputStream in)
void
setOutputStream(OutputStream out)
void
start(org.apache.sshd.server.channel.ChannelSession session, org.apache.sshd.server.Environment environment)
-
-
-
Method Detail
-
setInputStream
public void setInputStream(InputStream in)
- Specified by:
setInputStream
in interfaceorg.apache.sshd.server.command.CommandDirectInputStreamAware
-
setOutputStream
public void setOutputStream(OutputStream out)
- Specified by:
setOutputStream
in interfaceorg.apache.sshd.server.command.CommandDirectOutputStreamAware
-
setErrorStream
public void setErrorStream(OutputStream err)
- Specified by:
setErrorStream
in interfaceorg.apache.sshd.server.command.CommandDirectErrorStreamAware
-
setExitCallback
public void setExitCallback(org.apache.sshd.server.ExitCallback callback)
- Specified by:
setExitCallback
in interfaceorg.apache.sshd.server.command.Command
-
start
public void start(org.apache.sshd.server.channel.ChannelSession session, org.apache.sshd.server.Environment environment) throws IOException
- Specified by:
start
in interfaceorg.apache.sshd.server.command.CommandLifecycle
- Throws:
IOException
-
-