Class DefaultArtifactVersion
java.lang.Object
org.apache.maven.artifact.versioning.DefaultArtifactVersion
- All Implemented Interfaces:
Comparable
,ArtifactVersion
Default implementation of artifact versioning.
- Version:
- $Id: DefaultArtifactVersion.java 674059 2008-07-04 14:04:24Z brett $
- Author:
- Brett Porter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
int
int
int
int
hashCode()
final void
parseVersion
(String version) toString()
-
Constructor Details
-
DefaultArtifactVersion
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable
-
getMajorVersion
public int getMajorVersion()- Specified by:
getMajorVersion
in interfaceArtifactVersion
-
getMinorVersion
public int getMinorVersion()- Specified by:
getMinorVersion
in interfaceArtifactVersion
-
getIncrementalVersion
public int getIncrementalVersion()- Specified by:
getIncrementalVersion
in interfaceArtifactVersion
-
getBuildNumber
public int getBuildNumber()- Specified by:
getBuildNumber
in interfaceArtifactVersion
-
getQualifier
- Specified by:
getQualifier
in interfaceArtifactVersion
-
parseVersion
- Specified by:
parseVersion
in interfaceArtifactVersion
-
toString
-
equals
-
hashCode
public int hashCode()
-