public class MavenRepositorySettingsStub extends Object implements MavenRepositorySettings
MavenRepositorySettings.Credentials
Constructor and Description |
---|
MavenRepositorySettingsStub() |
Modifier and Type | Method and Description |
---|---|
void |
addMirror(String repositoryId,
URI mirroredUrl) |
MavenRepositorySettings.Credentials |
getCredentials(MavenRepositoryLocation location)
Returns the configured credentials for the given repository, or
null . |
MavenRepositoryLocation |
getMirror(MavenRepositoryLocation repository)
Returns the configured mirror URL, or
null . |
public MavenRepositoryLocation getMirror(MavenRepositoryLocation repository)
MavenRepositorySettings
null
.getMirror
in interface MavenRepositorySettings
public MavenRepositorySettings.Credentials getCredentials(MavenRepositoryLocation location)
MavenRepositorySettings
null
.getCredentials
in interface MavenRepositorySettings
Copyright © 2008–2015 Eclipse Foundation. All rights reserved.