Class DefaultMirrorSelector

java.lang.Object
org.apache.maven.repository.DefaultMirrorSelector
All Implemented Interfaces:
MirrorSelector

@Named @Singleton @Deprecated public class DefaultMirrorSelector extends Object implements MirrorSelector
Deprecated.
DefaultMirrorSelector
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.maven.settings.Mirror
    getMirror(org.apache.maven.artifact.repository.ArtifactRepository repository, List<org.apache.maven.settings.Mirror> mirrors)
    Deprecated.
    Determines the mirror for the specified repository.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultMirrorSelector

      public DefaultMirrorSelector()
      Deprecated.
  • Method Details

    • getMirror

      public org.apache.maven.settings.Mirror getMirror(org.apache.maven.artifact.repository.ArtifactRepository repository, List<org.apache.maven.settings.Mirror> mirrors)
      Deprecated.
      Description copied from interface: MirrorSelector
      Determines the mirror for the specified repository.
      Specified by:
      getMirror in interface MirrorSelector
      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.