public class PublishingRepositoryView extends Object implements PublishingRepository
Constructor and Description |
---|
PublishingRepositoryView(ModuleMetadataRepository metadataRepository,
ModuleArtifactRepository artifactRepository) |
Modifier and Type | Method and Description |
---|---|
void |
addArtifactLocation(String classifier,
File artifactLocation)
Adds the location of an existing artifact.
|
Map<String,File> |
getArtifactLocations()
The file system locations of the build artifacts, indexed by classifier.
|
org.eclipse.equinox.p2.repository.artifact.IArtifactRepository |
getArtifactRepository() |
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository |
getMetadataRepository() |
public PublishingRepositoryView(ModuleMetadataRepository metadataRepository, ModuleArtifactRepository artifactRepository)
public org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getMetadataRepository()
getMetadataRepository
in interface PublishingRepository
public org.eclipse.equinox.p2.repository.artifact.IArtifactRepository getArtifactRepository()
getArtifactRepository
in interface PublishingRepository
public void addArtifactLocation(String classifier, File artifactLocation) throws org.eclipse.equinox.p2.core.ProvisionException
PublishingRepository
addArtifactLocation
in interface PublishingRepository
classifier
- the classifier of the artifact, or null
for the main artifact.artifactLocation
- the location of the artifactorg.eclipse.equinox.p2.core.ProvisionException
public Map<String,File> getArtifactLocations()
PublishingRepositoryFacade
getArtifactLocations
in interface PublishingRepositoryFacade
null
for main artifact) to artifact file
locations in the target directoryCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.