Class DefaultArtifactKey

java.lang.Object
org.eclipse.tycho.DefaultArtifactKey
All Implemented Interfaces:
ArtifactKey

public class DefaultArtifactKey extends Object implements ArtifactKey
  • Constructor Details

    • DefaultArtifactKey

      public DefaultArtifactKey(String type, String id)
    • DefaultArtifactKey

      public DefaultArtifactKey(String type, String id, String version)
  • Method Details

    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public String getType()
      Description copied from interface: ArtifactKey
      Artifact type. Should be one of the ArtifactType constants.
      Specified by:
      getType in interface ArtifactKey
      See Also:
      • invalid reference
        ProjectType
    • getId

      public String getId()
      Eclipse/OSGi artifact id. Can differ from Maven artifactId.
      Specified by:
      getId in interface ArtifactKey
    • 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 interface ArtifactKey