Package org.eclipse.tycho
Class DefaultArtifactKey
- 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 boolean
equals(Object obj)
String
getId()
Eclipse/OSGi artifact id.String
getType()
Artifact type.String
getVersion()
Eclipse/OSGi artifact version.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:ArtifactKey
Artifact type. Should be one of theArtifactType
constants.- Specified by:
getType
in interfaceArtifactKey
- See Also:
ProjectType
-
getId
public String getId()
Eclipse/OSGi artifact id. Can differ from Maven artifactId.- Specified by:
getId
in 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:
getVersion
in interfaceArtifactKey
-
-