com.atlassian.bamboo.repository.cvsimpl
Class ExtConnection

java.lang.Object
  extended by org.netbeans.lib.cvsclient.connection.AbstractConnection
      extended by com.atlassian.bamboo.repository.cvsimpl.ExtConnection
All Implemented Interfaces:
org.netbeans.lib.cvsclient.connection.Connection

public class ExtConnection
extends org.netbeans.lib.cvsclient.connection.AbstractConnection

Sadly JavaCVS does not come with support for :ext server connections. I got this one off the developer list.


Field Summary
static java.lang.String AUTH_PASSWORD
           
static java.lang.String AUTH_SSH
           
static int DEFAULT_PORT
           
 
Constructor Summary
ExtConnection(org.netbeans.lib.cvsclient.CVSRoot cvsroot)
           
 
Method Summary
 void close()
           
 int getPort()
           
 boolean isOpen()
           
 void modifyInputStream(org.netbeans.lib.cvsclient.connection.ConnectionModifier connectionmodifier)
           
 void modifyOutputStream(org.netbeans.lib.cvsclient.connection.ConnectionModifier connectionmodifier)
           
 void open()
           
 void setAuthType(java.lang.String type)
           
 void setKeyFile(java.lang.String filename)
           
 void setPassphrase(java.lang.String passphrase)
           
 void verify()
           
 
Methods inherited from class org.netbeans.lib.cvsclient.connection.AbstractConnection
getInputStream, getOutputStream, getRepository, setInputStream, setOutputStream, setRepository, verifyProtocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

AUTH_PASSWORD

public static final java.lang.String AUTH_PASSWORD
See Also:
Constant Field Values

AUTH_SSH

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

ExtConnection

public ExtConnection(org.netbeans.lib.cvsclient.CVSRoot cvsroot)
Method Detail

open

public void open()
          throws org.netbeans.lib.cvsclient.connection.AuthenticationException,
                 org.netbeans.lib.cvsclient.command.CommandAbortedException
Throws:
org.netbeans.lib.cvsclient.connection.AuthenticationException
org.netbeans.lib.cvsclient.command.CommandAbortedException

verify

public void verify()
            throws org.netbeans.lib.cvsclient.connection.AuthenticationException
Throws:
org.netbeans.lib.cvsclient.connection.AuthenticationException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException

isOpen

public boolean isOpen()

modifyInputStream

public void modifyInputStream(org.netbeans.lib.cvsclient.connection.ConnectionModifier connectionmodifier)
                       throws java.io.IOException
Throws:
java.io.IOException

modifyOutputStream

public void modifyOutputStream(org.netbeans.lib.cvsclient.connection.ConnectionModifier connectionmodifier)
                        throws java.io.IOException
Throws:
java.io.IOException

getPort

public int getPort()

setKeyFile

public void setKeyFile(java.lang.String filename)

setPassphrase

public void setPassphrase(java.lang.String passphrase)

setAuthType

public void setAuthType(java.lang.String type)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.