|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.repository.DefaultMirrorSelector
@Component(role=MirrorSelector.class) public class DefaultMirrorSelector
Constructor Summary | |
---|---|
DefaultMirrorSelector()
|
Method Summary | |
---|---|
Mirror |
getMirror(ArtifactRepository repository,
java.util.List<Mirror> mirrors)
Determines the mirror for the specified repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultMirrorSelector()
Method Detail |
---|
public Mirror getMirror(ArtifactRepository repository, java.util.List<Mirror> mirrors)
MirrorSelector
getMirror
in interface MirrorSelector
repository
- The repository to determine the mirror for, must not be null
.mirrors
- The available mirrors, may be null
.
null
if no mirror matched.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |