org.apache.maven.artifact.versioning
Interface ArtifactVersion

All Superinterfaces:
Comparable
All Known Implementing Classes:
DefaultArtifactVersion

public interface ArtifactVersion
extends Comparable

Describes an artifact version in terms of its components, converts it to/from a string and compares two versions.

Version:
$Id: ArtifactVersion.java 640549 2008-03-24 20:05:11Z bentmann $
Author:
Brett Porter

Method Summary
 int getBuildNumber()
           
 int getIncrementalVersion()
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 String getQualifier()
           
 void parseVersion(String version)
           
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getMajorVersion

int getMajorVersion()

getMinorVersion

int getMinorVersion()

getIncrementalVersion

int getIncrementalVersion()

getBuildNumber

int getBuildNumber()

getQualifier

String getQualifier()

parseVersion

void parseVersion(String version)


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.