org.sonatype.aether.repository
Interface MirrorSelector

All Known Implementing Classes:
DefaultMirrorSelector

public interface MirrorSelector

Selects a mirror for a given remote repository.

Author:
Benjamin Bentmann

Method Summary
 RemoteRepository getMirror(RemoteRepository repository)
          Selects a mirror for the specified repository.
 

Method Detail

getMirror

RemoteRepository getMirror(RemoteRepository repository)
Selects a mirror for the specified repository.

Parameters:
repository - The repository to select a mirror for, must not be null.
Returns:
The selected mirror or null if none.
See Also:
RemoteRepository.getMirroredRepositories()


Copyright © 2010-2013. All Rights Reserved.