1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * IBM Corporation - initial API and implementation 13 *******************************************************************************/ 14 package org.eclipse.team.internal.ccvs.core.connection; 15 16 17 import org.eclipse.team.internal.ccvs.core.*; 18 19 public class ExtConnectionMethod implements IConnectionMethod { 20 @Override getName()21 public String getName() { 22 return "ext"; //$NON-NLS-1$ 23 } 24 25 @Override createConnection(ICVSRepositoryLocation repositoryRoot, String password)26 public IServerConnection createConnection(ICVSRepositoryLocation repositoryRoot, String password) { 27 if(password==null){ 28 password=""; //$NON-NLS-1$ 29 } 30 return new ExtConnection(repositoryRoot, password); 31 } 32 disconnect(ICVSRepositoryLocation location)33 public void disconnect(ICVSRepositoryLocation location) { 34 } 35 } 36