Community
Participate
Working Groups
Before graduating AgentLocation as real API it needs some cleanup: - It currently uses a mixture of URL and URI. It should probably just use URI. - Rename getURL() to something informative like getRootLocation() or getAgentRoot() - getMetadataRepositoryURI should be removed - this represents the metadata cache which we no longer have - getArtifactRepositoryURI returns the download cache. Since this method just forwards to getDataArea(String) with a value of "cache/", it could probably just be deleted and make the string constant available somewhere. I'm not sure we want to support the notion of a single artifact cache at the core level, so perhaps this constant should live elsewhere, such as the artifact repository API.
Fix released in p2 API_cleanup branch.