Package org.eclipse.tycho
Interface ArtifactDescriptor
public interface ArtifactDescriptor
An artifact (i.e. a file) in project build target platform.
-
Method Summary
Modifier and TypeMethodDescriptionMaven artifact classifier.Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>P2 metadata describing the projectgetKey()Eclipse/OSGi artifact key (a.k.a.getLocation(boolean fetch) Artifact location on local filesystemReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.
-
Method Details
-
getKey
ArtifactKey getKey()Eclipse/OSGi artifact key (a.k.a. "coordinates") that uniquely identify the artifact -
getLocation
Artifact location on local filesystem- Parameters:
fetch- whether to fetch artifact if not already available locally- Returns:
- the artifact location if already available or if
fetch=trueand fetching succeds;nullotherwise.
-
getMavenProject
ReactorProject getMavenProject()ReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project. -
getClassifier
String getClassifier()Maven artifact classifier. Not null only for classified artifacts coming from a reactor project (eg, sources jar). -
getInstallableUnits
Set<org.eclipse.equinox.p2.metadata.IInstallableUnit> getInstallableUnits()P2 metadata describing the project
-