Package com.atlassian.bamboo.ssh
Class DummyCommand
java.lang.Object
com.atlassian.bamboo.ssh.DummyCommand
- 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
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy(org.apache.sshd.server.channel.ChannelSession session) voidvoidsetExitCallback(org.apache.sshd.server.ExitCallback callback) voidvoidvoidstart(org.apache.sshd.server.channel.ChannelSession session, org.apache.sshd.server.Environment env)
-
Field Details
-
COMMAND_SUCCEEDED
- See Also:
-
-
Constructor Details
-
DummyCommand
public DummyCommand()
-
-
Method Details
-
setInputStream
- Specified by:
setInputStreamin interfaceorg.apache.sshd.server.command.CommandDirectInputStreamAware
-
setOutputStream
- Specified by:
setOutputStreamin interfaceorg.apache.sshd.server.command.CommandDirectOutputStreamAware
-
setErrorStream
- Specified by:
setErrorStreamin interfaceorg.apache.sshd.server.command.CommandDirectErrorStreamAware
-
setExitCallback
public void setExitCallback(org.apache.sshd.server.ExitCallback callback) - Specified by:
setExitCallbackin interfaceorg.apache.sshd.server.command.Command
-
start
public void start(org.apache.sshd.server.channel.ChannelSession session, org.apache.sshd.server.Environment env) throws IOException - Specified by:
startin interfaceorg.apache.sshd.server.command.CommandLifecycle- Throws:
IOException
-
destroy
public void destroy(org.apache.sshd.server.channel.ChannelSession session) - Specified by:
destroyin interfaceorg.apache.sshd.server.command.CommandLifecycle
-