Package org.apache.maven.repository
Class DefaultMirrorSelector
java.lang.Object
org.apache.maven.repository.DefaultMirrorSelector
- All Implemented Interfaces:
- MirrorSelector
DefaultMirrorSelector
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetMirror(ArtifactRepository repository, List<Mirror> mirrors) Determines the mirror for the specified repository.
- 
Constructor Details- 
DefaultMirrorSelectorpublic DefaultMirrorSelector()
 
- 
- 
Method Details- 
getMirrorDescription copied from interface:MirrorSelectorDetermines the mirror for the specified repository.- Specified by:
- getMirrorin 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 nullif no mirror matched.
 
 
-