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.
  • Constructor Details

    • DefaultRepositoryIdManager

      public DefaultRepositoryIdManager()
  • Method Details

    • addMapping

      public void addMapping(String mavenRepositoryId, URI location)
      Specified by:
      addMapping in interface org.eclipse.tycho.IRepositoryIdManager
    • getEffectiveLocation

      public URI getEffectiveLocation(URI location)
      Specified by:
      getEffectiveLocation in interface org.eclipse.tycho.IRepositoryIdManager
    • getEffectiveLocationAndPrepareLoad

      public URI getEffectiveLocationAndPrepareLoad(URI location)
      Specified by:
      getEffectiveLocationAndPrepareLoad in interface org.eclipse.tycho.IRepositoryIdManager
    • getKnownMavenRepositoryLocations

      public Stream<org.eclipse.tycho.MavenRepositoryLocation> getKnownMavenRepositoryLocations()
      Specified by:
      getKnownMavenRepositoryLocations in interface org.eclipse.tycho.IRepositoryIdManager
    • getSettings

      public org.eclipse.tycho.MavenRepositorySettings getSettings()
      Specified by:
      getSettings in interface org.eclipse.tycho.IRepositoryIdManager