public interface PublishingRepository extends PublishingRepositoryFacade
Modifier and Type | Method and Description |
---|---|
void |
addArtifactLocation(String classifier,
File artifactLocation)
Adds the location of an existing artifact.
|
org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository |
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.
|
IRawArtifactFileProvider |
getArtifacts() |
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository |
getMetadataRepository() |
ReactorProjectIdentities |
getProjectIdentities()
Returns the project for which this instance contains the publishing results.
|
getArtifactLocations, getInstallableUnits
ReactorProjectIdentities getProjectIdentities()
org.eclipse.equinox.p2.repository.metadata.IMetadataRepository getMetadataRepository()
IRawArtifactFileProvider getArtifacts()
org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository getArtifactRepository()
org.eclipse.equinox.p2.repository.artifact.IArtifactRepository getArtifactRepositoryForWriting(WriteSessionContext writeSession)
writeSession
- a callback used to assign (Maven) classifiers to the new (p2) artifacts.void addArtifactLocation(String classifier, File artifactLocation) throws org.eclipse.equinox.p2.core.ProvisionException
classifier
- the classifier of the artifact, or null
for the main artifact.artifactLocation
- the location of the artifactorg.eclipse.equinox.p2.core.ProvisionException
Copyright © 2008-2015 Eclipse Foundation. All Rights Reserved.