Class DefaultRepositoryIdManager
java.lang.Object
org.eclipse.tycho.p2maven.repository.DefaultRepositoryIdManager
- All Implemented Interfaces:
org.eclipse.tycho.IRepositoryIdManager
@Component(role=org.eclipse.tycho.IRepositoryIdManager.class)
public class DefaultRepositoryIdManager
extends Object
implements org.eclipse.tycho.IRepositoryIdManager
Helper class for the Remote*RepositoryManagers taking care of mapping repository URLs to the
settings.xml-configured mirrors and setting passwords.
-
Field Summary
Fields inherited from interface org.eclipse.tycho.IRepositoryIdManager
SERVICE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMapping(String mavenRepositoryId, URI location) getEffectiveLocation(URI location) getEffectiveLocationAndPrepareLoad(URI location) Stream<org.eclipse.tycho.MavenRepositoryLocation> org.eclipse.tycho.MavenRepositorySettings
-
Constructor Details
-
DefaultRepositoryIdManager
public DefaultRepositoryIdManager()
-
-
Method Details
-
addMapping
- Specified by:
addMappingin interfaceorg.eclipse.tycho.IRepositoryIdManager
-
getEffectiveLocation
- Specified by:
getEffectiveLocationin interfaceorg.eclipse.tycho.IRepositoryIdManager
-
getEffectiveLocationAndPrepareLoad
- Specified by:
getEffectiveLocationAndPrepareLoadin interfaceorg.eclipse.tycho.IRepositoryIdManager
-
getKnownMavenRepositoryLocations
- Specified by:
getKnownMavenRepositoryLocationsin interfaceorg.eclipse.tycho.IRepositoryIdManager
-
getSettings
public org.eclipse.tycho.MavenRepositorySettings getSettings()- Specified by:
getSettingsin interfaceorg.eclipse.tycho.IRepositoryIdManager
-