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

java.lang.Object
  extended by org.sonatype.tycho.p2.facade.internal.ArtifactFacade
All Implemented Interfaces:
IArtifactFacade

public class ArtifactFacade
extends java.lang.Object
implements IArtifactFacade


Constructor Summary
ArtifactFacade(org.apache.maven.artifact.Artifact wrappedArtifact)
           
 
Method Summary
 java.lang.String getArtifactId()
           
 java.lang.String getGroupId()
           
 java.io.File getLocation()
           
 java.lang.String getPackagingType()
           
 java.lang.String getSourceBundleSuffix()
          Suffix which will be appended to the symbolc name of the bundle to generate the symbolic name of the corresponding source bundle.
 java.lang.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
 

Constructor Detail

ArtifactFacade

public ArtifactFacade(org.apache.maven.artifact.Artifact wrappedArtifact)
Method Detail

getLocation

public java.io.File getLocation()
Specified by:
getLocation in interface IArtifactFacade

getGroupId

public java.lang.String getGroupId()
Specified by:
getGroupId in interface IArtifactFacade

getArtifactId

public java.lang.String getArtifactId()
Specified by:
getArtifactId in interface IArtifactFacade

getVersion

public java.lang.String getVersion()
Specified by:
getVersion in interface IArtifactFacade

getPackagingType

public java.lang.String getPackagingType()
Specified by:
getPackagingType in interface IArtifactFacade

getSourceBundleSuffix

public java.lang.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.