Package org.eclipse.tycho
Interface ArtifactDescriptor
-
- All Known Subinterfaces:
FeatureDescription
,PluginDescription
- All Known Implementing Classes:
DefaultArtifactDescriptor
,DefaultFeatureDescription
,DefaultPluginDescription
public interface ArtifactDescriptor
An artifact (i.e. a file) in project build target platform.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getClassifier()
Maven artifact classifier.java.util.Set<java.lang.Object>
getInstallableUnits()
P2 metadata describing the projectArtifactKey
getKey()
Eclipse/OSGi artifact key (a.k.a.java.io.File
getLocation(boolean fetch)
Artifact location on local filesystemReactorProject
getMavenProject()
ReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.
-
-
-
Method Detail
-
getKey
ArtifactKey getKey()
Eclipse/OSGi artifact key (a.k.a. "coordinates") that uniquely identify the artifact
-
getLocation
java.io.File getLocation(boolean fetch)
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=true
and fetching succeds;null
otherwise.
-
getMavenProject
ReactorProject getMavenProject()
ReactorProject corresponding to the artifact or null if the artifact does not come from a reactor project.
-
getClassifier
java.lang.String getClassifier()
Maven artifact classifier. Not null only for classified artifacts coming from a reactor project (eg, sources jar).
-
getInstallableUnits
java.util.Set<java.lang.Object> getInstallableUnits()
P2 metadata describing the project
-
-