1 /*******************************************************************************
2 * Copyright (c) 2010, 2012 Sonatype, Inc.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * Sonatype, Inc. - initial API and implementation
10 *******************************************************************************/
11 package org
.eclipse
.aether
.repository
;
14 * Selects a proxy for a given remote repository.
16 * @see org.eclipse.aether.RepositorySystemSession#getProxySelector()
18 public interface ProxySelector
22 * Selects a proxy for the specified remote repository.
24 * @param repository The repository for which to select a proxy, must not be {@code null}.
25 * @return The selected proxy or {@code null} if none.
27 Proxy
getProxy( RemoteRepository repository
);