Interface MirrorSelector

All Known Implementing Classes:
DefaultMirrorSelector

@Deprecated public interface MirrorSelector
Deprecated.
Handles the selection of mirrors for repositories.
  • Method Summary

    Modifier and Type
    Method
    Description
    getMirror(ArtifactRepository repository, List<Mirror> mirrors)
    Deprecated.
    Determines the mirror for the specified repository.
  • Method Details

    • getMirror

      Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors)
      Deprecated.
      Determines the mirror for the specified repository.
      Parameters:
      repository - The repository to determine the mirror for, must not be null.
      mirrors - The available mirrors, may be null.
      Returns:
      The mirror specification for the repository or null if no mirror matched.