com.atlassian.bamboo.ssh
Class DummyCommand
java.lang.Object
com.atlassian.bamboo.ssh.DummyCommand
- All Implemented Interfaces:
- org.apache.sshd.server.Command
public class DummyCommand
- extends java.lang.Object
- implements org.apache.sshd.server.Command
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMAND_SUCCEEDED
public static final java.lang.String COMMAND_SUCCEEDED
- See Also:
- Constant Field Values
DummyCommand
public DummyCommand()
setInputStream
public void setInputStream(java.io.InputStream in)
- Specified by:
setInputStream
in interface org.apache.sshd.server.Command
setOutputStream
public void setOutputStream(java.io.OutputStream out)
- Specified by:
setOutputStream
in interface org.apache.sshd.server.Command
setErrorStream
public void setErrorStream(java.io.OutputStream err)
- Specified by:
setErrorStream
in interface org.apache.sshd.server.Command
setExitCallback
public void setExitCallback(org.apache.sshd.server.ExitCallback callback)
- Specified by:
setExitCallback
in interface org.apache.sshd.server.Command
start
public void start(org.apache.sshd.server.Environment env)
throws java.io.IOException
- Specified by:
start
in interface org.apache.sshd.server.Command
- Throws:
java.io.IOException
destroy
public void destroy()
- Specified by:
destroy
in interface org.apache.sshd.server.Command
Copyright © 2012 Atlassian. All Rights Reserved.