org.eclipse.aether.repository

## Interface MirrorSelector

- All Known Implementing Classes:
    DefaultMirrorSelector

      public interface MirrorSelector

  Selects a mirror for a given remote repository.
  See Also:
    `RepositorySystemSession.getMirrorSelector()`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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-2014 The Eclipse Foundation. All Rights Reserved.