org.sonatype.tycho.p2.facade.internal
Class MavenProjectFacade

java.lang.Object
  extended by org.sonatype.tycho.p2.facade.internal.MavenProjectFacade
All Implemented Interfaces:
IArtifactFacade
Direct Known Subclasses:
ProjectArtifactFacade

public class MavenProjectFacade
extends Object
implements IArtifactFacade


Field Summary
protected  org.apache.maven.project.MavenProject wrappedProject
           
 
Constructor Summary
MavenProjectFacade(org.apache.maven.project.MavenProject wrappedProject)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wrappedProject

protected org.apache.maven.project.MavenProject wrappedProject
Constructor Detail

MavenProjectFacade

public MavenProjectFacade(org.apache.maven.project.MavenProject wrappedProject)
Method Detail

getLocation

public File getLocation()
Specified by:
getLocation in interface IArtifactFacade

getGroupId

public String getGroupId()
Specified by:
getGroupId in interface IArtifactFacade

getArtifactId

public String getArtifactId()
Specified by:
getArtifactId in interface IArtifactFacade

getVersion

public String getVersion()
Specified by:
getVersion in interface IArtifactFacade

getPackagingType

public String getPackagingType()
Specified by:
getPackagingType in interface IArtifactFacade

getSourceBundleSuffix

public String getSourceBundleSuffix()
Description copied from interface: IArtifactFacade
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 IArtifactFacade.hasSourceBundle() == false.

Specified by:
getSourceBundleSuffix in interface IArtifactFacade

hasSourceBundle

public boolean hasSourceBundle()
Description copied from interface: IArtifactFacade
whether a source bundle will be generated for this artifact.

Specified by:
hasSourceBundle in interface IArtifactFacade


Copyright © 2008-2011. All Rights Reserved.