]> git.argeo.org Git - gpl/argeo-slc.git/blob - org.argeo.slc.repo/src/org/eclipse/aether/repository/MirrorSelector.java
Move Devops from Argeo JCR to SLC
[gpl/argeo-slc.git] / org.argeo.slc.repo / src / org / eclipse / aether / repository / MirrorSelector.java
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
7 *
8 * Contributors:
9 * Sonatype, Inc. - initial API and implementation
10 *******************************************************************************/
11 package org.eclipse.aether.repository;
12
13 /**
14 * Selects a mirror for a given remote repository.
15 *
16 * @see org.eclipse.aether.RepositorySystemSession#getMirrorSelector()
17 */
18 public interface MirrorSelector
19 {
20
21 /**
22 * Selects a mirror for the specified repository.
23 *
24 * @param repository The repository to select a mirror for, must not be {@code null}.
25 * @return The selected mirror or {@code null} if none.
26 * @see RemoteRepository#getMirroredRepositories()
27 */
28 RemoteRepository getMirror( RemoteRepository repository );
29
30 }