org.apache.maven.artifact.versioning
Interface ArtifactVersion
- All Superinterfaces:
- Comparable<ArtifactVersion>
- All Known Implementing Classes:
- DefaultArtifactVersion
public interface ArtifactVersion
- extends Comparable<ArtifactVersion>
Describes an artifact version in terms of its components, converts it to/from a string and
compares two versions.
- Version:
- $Id: ArtifactVersion.java 1039332 2010-11-26 12:37:37Z bentmann $
- Author:
- Brett Porter
getMajorVersion
int getMajorVersion()
getMinorVersion
int getMinorVersion()
getIncrementalVersion
int getIncrementalVersion()
getBuildNumber
int getBuildNumber()
getQualifier
String getQualifier()
parseVersion
void parseVersion(String version)
Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.