com.atlassian.bamboo.ssh
Class DummyCommand

java.lang.Object
  extended by 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


Nested Class Summary
static class DummyCommand.Factory
           
 
Field Summary
static java.lang.String COMMAND_SUCCEEDED
           
 
Constructor Summary
DummyCommand()
           
 
Method Summary
 void destroy()
           
 void setErrorStream(java.io.OutputStream err)
           
 void setExitCallback(org.apache.sshd.server.ExitCallback callback)
           
 void setInputStream(java.io.InputStream in)
           
 void setOutputStream(java.io.OutputStream out)
           
 void start(org.apache.sshd.server.Environment env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMAND_SUCCEEDED

public static final java.lang.String COMMAND_SUCCEEDED
See Also:
Constant Field Values
Constructor Detail

DummyCommand

public DummyCommand()
Method Detail

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.