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 Comparablepublic int getMajorVersion()
Getter for the field majorVersion.
getMajorVersion in interface org.apache.maven.artifact.versioning.ArtifactVersionpublic int getMinorVersion()
Getter for the field minorVersion.
getMinorVersion in interface org.apache.maven.artifact.versioning.ArtifactVersionpublic int getIncrementalVersion()
Getter for the field incrementalVersion.
getIncrementalVersion in interface org.apache.maven.artifact.versioning.ArtifactVersionpublic int getBuildNumber()
Getter for the field buildNumber.
getBuildNumber in interface org.apache.maven.artifact.versioning.ArtifactVersionpublic String getQualifier()
Getter for the field qualifier.
getQualifier in interface org.apache.maven.artifact.versioning.ArtifactVersionString object.public void parseVersion(String version)
parseVersion in interface org.apache.maven.artifact.versioning.ArtifactVersionCopyright © 2005–2015 Codehaus. All rights reserved.