com.atlassian.bamboo.repository.cvsimpl
Class ConnectionFactory

java.lang.Object
  extended by com.atlassian.bamboo.repository.cvsimpl.ConnectionFactory

public class ConnectionFactory
extends java.lang.Object

Simple class for managing the mapping from CVSROOT specifications to Connection classes. This is the javacvs ConnectionFactory customised to return ExtConnections.


Constructor Summary
ConnectionFactory()
           
 
Method Summary
static org.netbeans.lib.cvsclient.connection.Connection getConnection(org.netbeans.lib.cvsclient.CVSRoot root)
          Returns a Connection object to handle the specific CVSRoot specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionFactory

public ConnectionFactory()
Method Detail

getConnection

public static org.netbeans.lib.cvsclient.connection.Connection getConnection(org.netbeans.lib.cvsclient.CVSRoot root)
                                                                      throws java.lang.IllegalArgumentException
Returns a Connection object to handle the specific CVSRoot specification.

Throws:
java.lang.IllegalArgumentException - If it cannot find a suitable connection


Copyright © 2011 Atlassian. All Rights Reserved.