public class FeatureRootfileArtifactRepository extends TransientArtifactRepository
Modifier and Type | Field and Description |
---|---|
private java.io.File |
outputDirectory |
private java.util.Map<java.lang.String,IP2Artifact> |
publishedArtifacts |
private org.eclipse.equinox.p2.publisher.PublisherInfo |
publisherInfo |
private static java.lang.String |
ROOTFILE_CLASSIFIER |
private static java.lang.String |
ROOTFILE_EXTENSION |
descriptors
Constructor and Description |
---|
FeatureRootfileArtifactRepository(org.eclipse.equinox.p2.publisher.PublisherInfo publisherInfo,
java.io.File outputDirectory) |
Modifier and Type | Method and Description |
---|---|
private java.io.OutputStream |
createRootfileOutputStream(org.eclipse.equinox.p2.metadata.IArtifactKey artifactKey) |
java.io.OutputStream |
getOutputStream(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) |
java.util.Map<java.lang.String,IP2Artifact> |
getPublishedArtifacts() |
(package private) java.lang.String |
getRootFileArtifactClassifier(java.lang.String artifactId) |
addDescriptor, addDescriptor, addDescriptors, addDescriptors, contains, contains, createArtifactDescriptor, descriptorQueryable, getArtifact, getArtifactDescriptors, getArtifactDescriptors, getArtifacts, getRawArtifact, isModifiable, query
createArtifactKey, equals, executeBatch, hashCode, removeAll, removeAll, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptor, removeDescriptors, removeDescriptors, removeDescriptors, removeDescriptors
assertModifiable, getDescription, getLocation, getName, getProperties, getProperty, getProvider, getProvisioningAgent, getType, getVersion, setDescription, setLocation, setName, setProperties, setProperty, setProperty, setProvider, setType, setVersion
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
private static final java.lang.String ROOTFILE_CLASSIFIER
private static final java.lang.String ROOTFILE_EXTENSION
private final java.io.File outputDirectory
private final org.eclipse.equinox.p2.publisher.PublisherInfo publisherInfo
private java.util.Map<java.lang.String,IP2Artifact> publishedArtifacts
public FeatureRootfileArtifactRepository(org.eclipse.equinox.p2.publisher.PublisherInfo publisherInfo, java.io.File outputDirectory)
public java.io.OutputStream getOutputStream(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor descriptor) throws org.eclipse.equinox.p2.core.ProvisionException
getOutputStream
in interface org.eclipse.equinox.p2.repository.artifact.IArtifactRepository
getOutputStream
in class TransientArtifactRepository
org.eclipse.equinox.p2.core.ProvisionException
private java.io.OutputStream createRootfileOutputStream(org.eclipse.equinox.p2.metadata.IArtifactKey artifactKey) throws org.eclipse.equinox.p2.core.ProvisionException, java.io.IOException
org.eclipse.equinox.p2.core.ProvisionException
java.io.IOException
java.lang.String getRootFileArtifactClassifier(java.lang.String artifactId)
public java.util.Map<java.lang.String,IP2Artifact> getPublishedArtifacts()