private class RepositorySettingsConfigurator.MavenRepositorySettingsProvider extends java.lang.Object implements MavenRepositorySettings
MavenRepositorySettings.Credentials
Modifier | Constructor and Description |
---|---|
private |
MavenRepositorySettingsProvider() |
Modifier and Type | Method and Description |
---|---|
MavenRepositorySettings.Credentials |
getCredentials(MavenRepositoryLocation location)
Returns the configured credentials for the given repository, or
null . |
MavenRepositoryLocation |
getMirror(MavenRepositoryLocation location)
Returns the configured mirror URL, or
null . |
public MavenRepositoryLocation getMirror(MavenRepositoryLocation location)
MavenRepositorySettings
null
.getMirror
in interface MavenRepositorySettings
public MavenRepositorySettings.Credentials getCredentials(MavenRepositoryLocation location)
MavenRepositorySettings
null
.getCredentials
in interface MavenRepositorySettings