Class Gav

java.lang.Object
org.apache.maven.index.artifact.Gav

public class Gav extends Object
An immutable value class representing unique artifact coordinates.
Author:
cstamas, jvanzyl
  • Constructor Details

  • Method Details

    • getGroupId

      public String getGroupId()
    • getArtifactId

      public String getArtifactId()
    • getVersion

      public String getVersion()
    • getBaseVersion

      public String getBaseVersion()
    • getClassifier

      public String getClassifier()
    • getExtension

      public String getExtension()
    • getName

      public String getName()
    • isSnapshot

      public boolean isSnapshot()
    • getSnapshotBuildNumber

      public Integer getSnapshotBuildNumber()
    • getSnapshotTimeStamp

      public Long getSnapshotTimeStamp()
    • isHash

      public boolean isHash()
    • getHashType

      public Gav.HashType getHashType()
    • isSignature

      public boolean isSignature()
    • getSignatureType

      public Gav.SignatureType getSignatureType()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object