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 boolean
equals(Object obj)
String
getClassifier()
Maven artifact classifier.Set<Object>
getInstallableUnits()
P2 metadata describing the projectArtifactKey
getKey()
Eclipse/OSGi artifact key (a.k.a.File
getLocation()
Artifact location on local filesystemReactorProject
getMavenProject()
ReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.int
hashCode()
String
toString()
-
-
-
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:ArtifactDescriptor
Eclipse/OSGi artifact key (a.k.a. "coordinates") that uniquely identify the artifact- Specified by:
getKey
in interfaceArtifactDescriptor
-
getLocation
public File getLocation()
Description copied from interface:ArtifactDescriptor
Artifact location on local filesystem- Specified by:
getLocation
in interfaceArtifactDescriptor
-
getMavenProject
public ReactorProject getMavenProject()
Description copied from interface:ArtifactDescriptor
ReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.- Specified by:
getMavenProject
in interfaceArtifactDescriptor
-
getClassifier
public String getClassifier()
Description copied from interface:ArtifactDescriptor
Maven artifact classifier. Not null only for classified artifacts coming from a reactor project (eg, sources jar).- Specified by:
getClassifier
in interfaceArtifactDescriptor
-
getInstallableUnits
public Set<Object> getInstallableUnits()
Description copied from interface:ArtifactDescriptor
P2 metadata describing the project- Specified by:
getInstallableUnits
in interfaceArtifactDescriptor
-
-