public class MavenRepositorySettingsStub extends java.lang.Object implements MavenRepositorySettings
MavenRepositorySettings.Credentials
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.net.URI> |
idToMirrorMap |
Constructor and Description |
---|
MavenRepositorySettingsStub() |
Modifier and Type | Method and Description |
---|---|
void |
addMirror(java.lang.String repositoryId,
java.net.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 void addMirror(java.lang.String repositoryId, java.net.URI mirroredUrl)
public MavenRepositoryLocation getMirror(MavenRepositoryLocation repository)
MavenRepositorySettings
null
.getMirror
in interface MavenRepositorySettings
public MavenRepositorySettings.Credentials getCredentials(MavenRepositoryLocation location)
MavenRepositorySettings
null
.getCredentials
in interface MavenRepositorySettings