@Component(role=MirrorSelector.class) public class DefaultMirrorSelector extends Object implements MirrorSelector
| Constructor and Description | 
|---|
| DefaultMirrorSelector() | 
| Modifier and Type | Method and Description | 
|---|---|
| Mirror | getMirror(ArtifactRepository repository,
         List<Mirror> mirrors)Determines the mirror for the specified repository. | 
public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors)
MirrorSelectorgetMirror in interface MirrorSelectorrepository - 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–2021 The Apache Software Foundation. All rights reserved.