public interface MirrorSelector
Modifier and Type | Method and Description |
---|---|
Mirror |
getMirror(ArtifactRepository repository,
List<Mirror> mirrors)
Determines the mirror for the specified repository.
|
Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors)
repository
- The repository to determine the mirror for, must not be null
.mirrors
- The available mirrors, may be null
.null
if no mirror matched.Copyright © 2001–2017 The Apache Software Foundation. All rights reserved.