public final class RepositoryReferences extends Object
Constructor and Description |
---|
RepositoryReferences() |
Modifier and Type | Method and Description |
---|---|
void |
addArtifactRepository(File artifactRepositoryLocation)
Adds the artifact repository at the given location.
|
void |
addArtifactRepository(RepositoryBlackboardKey blackboardKey)
Adds the artifact repository which is stored in memory under the given key.
|
void |
addArtifactRepository(URI artifactRepository)
Adds the artifact repository at the given location.
|
void |
addMetadataRepository(File metadataRepositoryLocation)
Adds the metadata repository at the given location.
|
void |
addMetadataRepository(URI metadataRepository)
Adds the metadata repository at the given location.
|
List<URI> |
getArtifactRepositories()
Returns the list of artifact repositories in the order in which they were added.
|
List<URI> |
getMetadataRepositories()
Returns the list of metadata repositories in the order in which they were added.
|
public void addMetadataRepository(File metadataRepositoryLocation)
metadataRepositoryLocation
- The folder containing the metadata repository file (content.xml
or
content.jar
)public void addMetadataRepository(URI metadataRepository)
metadataRepositoryLocation
- A URL pointing to a p2 metadata repositorypublic void addArtifactRepository(File artifactRepositoryLocation)
artifactRepositoryLocation
- The folder containing the artifact repository file structurepublic void addArtifactRepository(URI artifactRepository)
artifactRepositoryLocation
- A URL pointing to a p2 artifact repositorypublic void addArtifactRepository(RepositoryBlackboardKey blackboardKey)
artifactRepositoryLocation
- A key identifying a repository registered on the artifact repository blackboard.public List<URI> getMetadataRepositories()
Copyright © 2008–2023 Eclipse Foundation. All rights reserved.