Interface ArtifactDescriptor


public interface ArtifactDescriptor
An artifact (i.e. a file) in project build target platform.
  • Method Summary

    Modifier and Type
    Method
    Description
    Maven artifact classifier.
    Set<org.eclipse.equinox.p2.metadata.IInstallableUnit>
    P2 metadata describing the project
    Eclipse/OSGi artifact key (a.k.a.
    getLocation(boolean fetch)
    Artifact location on local filesystem
    ReactorProject 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

      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

      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