public class PublishingRepositoryImpl extends Object implements PublishingRepository
| Constructor and Description |
|---|
PublishingRepositoryImpl(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
ReactorProjectCoordinates project) |
| 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.artifact.IArtifactRepository |
getArtifactRepositoryForWriting(WriteSessionContext writeSession)
Returns a view onto the project's artifact repository which allows writing new artifacts.
|
Set<Object> |
getInstallableUnits()
Returns the
IInstallableUnits in the publishing repository. |
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository |
getMetadataRepository() |
public PublishingRepositoryImpl(org.eclipse.equinox.p2.core.IProvisioningAgent agent,
ReactorProjectCoordinates project)
public org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getMetadataRepository()
getMetadataRepository in interface PublishingRepositorypublic Set<Object> getInstallableUnits()
PublishingRepositoryFacadeIInstallableUnits in the publishing repository.getInstallableUnits in interface PublishingRepositoryFacadepublic org.eclipse.equinox.p2.repository.artifact.IArtifactRepository getArtifactRepository()
getArtifactRepository in interface PublishingRepositorypublic org.eclipse.equinox.p2.repository.artifact.IArtifactRepository getArtifactRepositoryForWriting(WriteSessionContext writeSession)
PublishingRepositorygetArtifactRepositoryForWriting in interface PublishingRepositorywriteSession - a callback used to assign (Maven) classifiers to the new (p2) artifacts.public void addArtifactLocation(String classifier, File artifactLocation) throws org.eclipse.equinox.p2.core.ProvisionException
PublishingRepositoryaddArtifactLocation in interface PublishingRepositoryclassifier - the classifier of the artifact, or null for the main artifact.artifactLocation - the location of the artifactorg.eclipse.equinox.p2.core.ProvisionExceptionpublic Map<String,File> getArtifactLocations()
PublishingRepositoryFacadegetArtifactLocations in interface PublishingRepositoryFacadenull for main artifact) to artifact file
locations in the target directoryCopyright © 2008-2013 Eclipse Foundation. All Rights Reserved.