public class OsgiArtifactVersion extends Object implements org.apache.maven.artifact.versioning.ArtifactVersion
Constructor and Description |
---|
OsgiArtifactVersion(String version)
Constructor for OsgiArtifactVersion.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
int |
getBuildNumber()
Getter for the field
buildNumber . |
int |
getIncrementalVersion()
Getter for the field
incrementalVersion . |
int |
getMajorVersion()
Getter for the field
majorVersion . |
int |
getMinorVersion()
Getter for the field
minorVersion . |
String |
getQualifier()
Getter for the field
qualifier . |
void |
parseVersion(String version) |
String |
toString()
toString
|
public int compareTo(Object o)
compareTo
in interface Comparable
public int getMajorVersion()
Getter for the field majorVersion
.
getMajorVersion
in interface org.apache.maven.artifact.versioning.ArtifactVersion
public int getMinorVersion()
Getter for the field minorVersion
.
getMinorVersion
in interface org.apache.maven.artifact.versioning.ArtifactVersion
public int getIncrementalVersion()
Getter for the field incrementalVersion
.
getIncrementalVersion
in interface org.apache.maven.artifact.versioning.ArtifactVersion
public int getBuildNumber()
Getter for the field buildNumber
.
getBuildNumber
in interface org.apache.maven.artifact.versioning.ArtifactVersion
public String getQualifier()
Getter for the field qualifier
.
getQualifier
in interface org.apache.maven.artifact.versioning.ArtifactVersion
String
object.public void parseVersion(String version)
parseVersion
in interface org.apache.maven.artifact.versioning.ArtifactVersion
Copyright © 2005–2016 MojoHaus. All rights reserved.