Class DefaultArtifactVersion
java.lang.Object
org.apache.maven.artifact.versioning.DefaultArtifactVersion
- All Implemented Interfaces:
 Comparable<ArtifactVersion>,ArtifactVersion
Default implementation of artifact versioning.
- Author:
 - Brett Porter
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(ArtifactVersion otherVersion) booleanintintintintinthashCode()final voidparseVersion(String version) toString() 
- 
Constructor Details
- 
DefaultArtifactVersion
 
 - 
 - 
Method Details
- 
hashCode
public int hashCode() - 
equals
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<ArtifactVersion>
 - 
getMajorVersion
public int getMajorVersion()- Specified by:
 getMajorVersionin interfaceArtifactVersion
 - 
getMinorVersion
public int getMinorVersion()- Specified by:
 getMinorVersionin interfaceArtifactVersion
 - 
getIncrementalVersion
public int getIncrementalVersion()- Specified by:
 getIncrementalVersionin interfaceArtifactVersion
 - 
getBuildNumber
public int getBuildNumber()- Specified by:
 getBuildNumberin interfaceArtifactVersion
 - 
getQualifier
- Specified by:
 getQualifierin interfaceArtifactVersion
 - 
parseVersion
- Specified by:
 parseVersionin interfaceArtifactVersion
 - 
toString
 
 -