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.


Copyright © 2010 Sonatype, Inc.. All Rights Reserved.