Class DefaultArtifactVersion
java.lang.Object
org.apache.maven.artifact.versioning.DefaultArtifactVersion
- All Implemented Interfaces:
- Comparable<ArtifactVersion>,- ArtifactVersion
Default implementation of artifact versioning.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcompareTo(ArtifactVersion otherVersion) booleanintintintintinthashCode()final voidparseVersion(String version) toString()
- 
Constructor Details- 
DefaultArtifactVersion
 
- 
- 
Method Details- 
hashCodepublic int hashCode()
- 
equals
- 
compareTo- Specified by:
- compareToin interface- Comparable<ArtifactVersion>
 
- 
getMajorVersionpublic int getMajorVersion()- Specified by:
- getMajorVersionin interface- ArtifactVersion
 
- 
getMinorVersionpublic int getMinorVersion()- Specified by:
- getMinorVersionin interface- ArtifactVersion
 
- 
getIncrementalVersionpublic int getIncrementalVersion()- Specified by:
- getIncrementalVersionin interface- ArtifactVersion
 
- 
getBuildNumberpublic int getBuildNumber()- Specified by:
- getBuildNumberin interface- ArtifactVersion
 
- 
getQualifier- Specified by:
- getQualifierin interface- ArtifactVersion
 
- 
parseVersion- Specified by:
- parseVersionin interface- ArtifactVersion
 
- 
toString
 
-