org.sonatype.tycho.p2
Interface IArtifactFacade

All Known Subinterfaces:
IProjectArtifactFacade
All Known Implementing Classes:
ArtifactFacade, MavenProjectFacade, ProjectArtifactFacade

public interface IArtifactFacade

Facade which provides an interface for common properties of a maven Artifact or MavenProject. Needed to generate p2 metadata P2Generator for both reactor projects and binary artifacts. For eclipse-plugin reactor projects, also carries information about the corresponding eclipse source bundle.


Method Summary
 String getArtifactId()
           
 String getGroupId()
           
 File getLocation()
           
 String getPackagingType()
           
 String getSourceBundleSuffix()
          Suffix which will be appended to the symbolc name of the bundle to generate the symbolic name of the corresponding source bundle.
 String getVersion()
           
 boolean hasSourceBundle()
          whether a source bundle will be generated for this artifact.
 

Method Detail

getLocation

File getLocation()

getGroupId

String getGroupId()

getArtifactId

String getArtifactId()

getVersion

String getVersion()

getPackagingType

String getPackagingType()

getSourceBundleSuffix

String getSourceBundleSuffix()
Suffix which will be appended to the symbolc name of the bundle to generate the symbolic name of the corresponding source bundle. OsgiSourceMojo#sourceBundleSuffix. May return null if hasSourceBundle() == false.


hasSourceBundle

boolean hasSourceBundle()
whether a source bundle will be generated for this artifact.



Copyright © 2008-2011. All Rights Reserved.