public class GAVArtifactDescriptor extends GAVArtifactDescriptorBase
coordinates
Constructor and Description |
---|
GAVArtifactDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor base)
Creates a new
GAVArtifactDescriptor instance based on the given p2 artifact
descriptor. |
GAVArtifactDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor p2Descriptor,
MavenRepositoryCoordinates mavenCoordinates)
Creates a new
GAVArtifactDescriptor instance based on the given p2 artifact
descriptor and Maven coordinates. |
GAVArtifactDescriptor(org.eclipse.equinox.p2.metadata.IArtifactKey p2Key)
Creates a new
GAVArtifactDescriptorBase instance with the given p2 artifact key. |
getMavenCoordinates, readMavenCoordinateProperties, setMavenCoordinateProperties
public GAVArtifactDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor p2Descriptor, MavenRepositoryCoordinates mavenCoordinates)
GAVArtifactDescriptor
instance based on the given p2 artifact
descriptor and Maven coordinates. In case there are also Maven coordinate properties in the
p2 descriptor base, these will be overwritten.p2Descriptor
- The p2 artifact descriptor of the referenced artifact.mavenCoordinates
- The Maven coordinates of the referenced artifact.public GAVArtifactDescriptor(org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor base)
GAVArtifactDescriptor
instance based on the given p2 artifact
descriptor. If the given descriptor contains Maven coordinates as properties, these values
are used. Otherwise, fake Maven coordinates with a groupId starting with "p2" will be derived
from the p2 artifact key.base
- The p2 artifact descriptor to be copy-converted into a
GAVArtifactDescriptor
.public GAVArtifactDescriptor(org.eclipse.equinox.p2.metadata.IArtifactKey p2Key)
GAVArtifactDescriptorBase
instance with the given p2 artifact key. The
instance will be a p2 descriptor for the canonical format and have fake Maven coordinates
with a groupId starting with "p2" derived from the key.p2Key
- The p2 artifact key of the referenced canonical artifact.Copyright © 2008–2017 Eclipse Foundation. All rights reserved.