org.codehaus.mojo.pomtools.versioning
Interface VersionInfo

All Superinterfaces:
Comparable
All Known Implementing Classes:
DefaultVersionInfo

public interface VersionInfo
extends Comparable

Version:
$Id: VersionInfo.java 2166 2006-07-18 21:32:16Z carlos $
Author:
David Hawkins

Method Summary
 org.apache.maven.artifact.versioning.ArtifactVersion getArtifactVersion()
           
 VersionInfo getNextVersion()
          Returns a VersionInfo object which represents the next version of this object.
 String getReleaseVersionString()
          Returns a string representing the version without a snapshot specification.
 String getSnapshotVersionString()
          Returns a string representing the version with a snapshot specification
 String getVersionString()
          Returns a string representing the version without modification.
 boolean isParsed()
           
 boolean isSnapshot()
          Returns whether this represents a snapshot version.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getVersionString

String getVersionString()
Returns a string representing the version without modification.

Returns:

getArtifactVersion

org.apache.maven.artifact.versioning.ArtifactVersion getArtifactVersion()

getSnapshotVersionString

String getSnapshotVersionString()
Returns a string representing the version with a snapshot specification

Returns:

getReleaseVersionString

String getReleaseVersionString()
Returns a string representing the version without a snapshot specification.

Returns:

getNextVersion

VersionInfo getNextVersion()
Returns a VersionInfo object which represents the next version of this object.

Returns:

isSnapshot

boolean isSnapshot()
Returns whether this represents a snapshot version. ("xxx-SNAPSHOT");

Returns:

isParsed

boolean isParsed()


Copyright © 2011 The Codehaus. All Rights Reserved.