- java.lang.Object
-
- org.eclipse.tycho.DefaultArtifactKey
-
- All Implemented Interfaces:
ArtifactKey
public class DefaultArtifactKey extends Object implements ArtifactKey
-
-
Constructor Summary
Constructors Constructor Description DefaultArtifactKey(String type, String id, String version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetId()Eclipse/OSGi artifact id.StringgetType()Artifact type.StringgetVersion()Eclipse/OSGi artifact version.inthashCode()StringtoString()
-
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:ArtifactKeyArtifact type. Should be one of theArtifactTypeconstants.- Specified by:
getTypein interfaceArtifactKey- See Also:
ProjectType
-
getId
public String getId()
Eclipse/OSGi artifact id. Can differ from Maven artifactId.- Specified by:
getIdin interfaceArtifactKey
-
getVersion
public String getVersion()
Eclipse/OSGi artifact version. Can differ from Maven version. For maven projects, this version corresponds to version specified in the project sources and does not reflect qualifier expansion.- Specified by:
getVersionin interfaceArtifactKey
-
-