Package org.apache.maven.index.artifact
Class Gav
java.lang.Object
org.apache.maven.index.artifact.Gav
An immutable value class representing unique artifact coordinates.
- Author:
- cstamas, jvanzyl
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration representing Maven artifact hash typesstatic enum
Enumeration representing Maven artifact signature types -
Constructor Summary
-
Method Summary
-
Constructor Details
-
Gav
-
Gav
public Gav(String groupId, String artifactId, String version, String classifier, String extension, Integer snapshotBuildNumber, Long snapshotTimeStamp, String name, boolean hash, Gav.HashType hashType, boolean signature, Gav.SignatureType signatureType)
-
-
Method Details
-
getGroupId
-
getArtifactId
-
getVersion
-
getBaseVersion
-
getClassifier
-
getExtension
-
getName
-
isSnapshot
public boolean isSnapshot() -
getSnapshotBuildNumber
-
getSnapshotTimeStamp
-
isHash
public boolean isHash() -
getHashType
-
isSignature
public boolean isSignature() -
getSignatureType
-
equals
-
hashCode
public int hashCode()
-