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.

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–2013 The Apache Software Foundation. All rights reserved.