org.apache.maven.shared.release.versions
Interface VersionInfo

All Superinterfaces:
java.lang.Comparable
All Known Implementing Classes:
DefaultVersionInfo

public interface VersionInfo
extends java.lang.Comparable


Method Summary
 VersionInfo getNextVersion()
          Returns a VersionInfo object which represents the next version of this object.
 java.lang.String getReleaseVersionString()
          Returns a string representing the version without a snapshot specification.
 java.lang.String getSnapshotVersionString()
          Returns a string representing the version with a snapshot specification
 boolean isSnapshot()
          Returns whether this represents a snapshot version.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getSnapshotVersionString

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

Returns:

getReleaseVersionString

java.lang.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.

Returns:


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.