Package org.eclipse.tycho.core.osgitools
Class DefaultArtifactDescriptor
- java.lang.Object
-
- org.eclipse.tycho.core.osgitools.DefaultArtifactDescriptor
-
- All Implemented Interfaces:
ArtifactDescriptor
- Direct Known Subclasses:
DefaultFeatureDescription,DefaultPluginDescription
public class DefaultArtifactDescriptor extends Object implements ArtifactDescriptor
-
-
Constructor Summary
Constructors Constructor Description DefaultArtifactDescriptor(ArtifactKey key, File location, ReactorProject project, String classifier, Set<Object> installableUnits)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetClassifier()Maven artifact classifier.Set<Object>getInstallableUnits()P2 metadata describing the projectArtifactKeygetKey()Eclipse/OSGi artifact key (a.k.a.FilegetLocation()Artifact location on local filesystemReactorProjectgetMavenProject()ReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DefaultArtifactDescriptor
public DefaultArtifactDescriptor(ArtifactKey key, File location, ReactorProject project, String classifier, Set<Object> installableUnits)
-
-
Method Detail
-
getKey
public ArtifactKey getKey()
Description copied from interface:ArtifactDescriptorEclipse/OSGi artifact key (a.k.a. "coordinates") that uniquely identify the artifact- Specified by:
getKeyin interfaceArtifactDescriptor
-
getLocation
public File getLocation()
Description copied from interface:ArtifactDescriptorArtifact location on local filesystem- Specified by:
getLocationin interfaceArtifactDescriptor
-
getMavenProject
public ReactorProject getMavenProject()
Description copied from interface:ArtifactDescriptorReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.- Specified by:
getMavenProjectin interfaceArtifactDescriptor
-
getClassifier
public String getClassifier()
Description copied from interface:ArtifactDescriptorMaven artifact classifier. Not null only for classified artifacts coming from a reactor project (eg, sources jar).- Specified by:
getClassifierin interfaceArtifactDescriptor
-
getInstallableUnits
public Set<Object> getInstallableUnits()
Description copied from interface:ArtifactDescriptorP2 metadata describing the project- Specified by:
getInstallableUnitsin interfaceArtifactDescriptor
-
-