Package org.eclipse.tycho.p2.resolver
Class WrappedArtifact
- java.lang.Object
-
- org.eclipse.tycho.p2.metadata.ArtifactFacadeProxy
-
- org.eclipse.tycho.p2.resolver.WrappedArtifact
-
- All Implemented Interfaces:
IArtifactFacade
public final class WrappedArtifact extends ArtifactFacadeProxy
-
-
Field Summary
-
Fields inherited from class org.eclipse.tycho.p2.metadata.ArtifactFacadeProxy
proxy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringcreateBundleSymbolicNameFromArtifact(String prefix, IArtifactFacade mavenArtifact)static StringcreateClassifierFromArtifact(IArtifactFacade mavenArtifact)static aQute.bnd.version.VersioncreateOSGiVersionFromArtifact(IArtifactFacade mavenArtifact)protected static aQute.bnd.version.VersioncreateOSGiVersionFromMaven(String version)static PropertiescreatePropertiesForPrefix(String prefix)static WrappedArtifactcreateWrappedArtifact(IArtifactFacade mavenArtifact, String prefix, File wrappedFile)static WrappedArtifactcreateWrappedArtifact(IArtifactFacade mavenArtifact, Properties bndInstructions, File wrappedFile)booleanequals(Object obj)StringgetClassifier()StringgetGeneratedManifest()FilegetLocation()StringgetPackagingType()StringgetReferenceHint()StringgetWrappedBsn()StringgetWrappedVersion()inthashCode()StringtoString()-
Methods inherited from class org.eclipse.tycho.p2.metadata.ArtifactFacadeProxy
getArtifactId, getGroupId, getVersion
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.tycho.p2.metadata.IArtifactFacade
getDependencyTrail
-
-
-
-
Method Detail
-
getLocation
public File getLocation()
- Specified by:
getLocationin interfaceIArtifactFacade- Overrides:
getLocationin classArtifactFacadeProxy
-
getClassifier
public String getClassifier()
- Specified by:
getClassifierin interfaceIArtifactFacade- Overrides:
getClassifierin classArtifactFacadeProxy
-
getPackagingType
public String getPackagingType()
- Specified by:
getPackagingTypein interfaceIArtifactFacade- Overrides:
getPackagingTypein classArtifactFacadeProxy
-
getWrappedBsn
public String getWrappedBsn()
-
getWrappedVersion
public String getWrappedVersion()
-
getReferenceHint
public String getReferenceHint()
-
getGeneratedManifest
public String getGeneratedManifest()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classArtifactFacadeProxy
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classArtifactFacadeProxy
-
createWrappedArtifact
public static WrappedArtifact createWrappedArtifact(IArtifactFacade mavenArtifact, String prefix, File wrappedFile) throws Exception
- Throws:
Exception
-
createWrappedArtifact
public static WrappedArtifact createWrappedArtifact(IArtifactFacade mavenArtifact, Properties bndInstructions, File wrappedFile) throws Exception
- Throws:
Exception
-
createPropertiesForPrefix
public static Properties createPropertiesForPrefix(String prefix)
-
createClassifierFromArtifact
public static String createClassifierFromArtifact(IArtifactFacade mavenArtifact)
-
createBundleSymbolicNameFromArtifact
public static String createBundleSymbolicNameFromArtifact(String prefix, IArtifactFacade mavenArtifact)
-
createOSGiVersionFromArtifact
public static aQute.bnd.version.Version createOSGiVersionFromArtifact(IArtifactFacade mavenArtifact)
-
createOSGiVersionFromMaven
protected static aQute.bnd.version.Version createOSGiVersionFromMaven(String version)
-
-