org.apache.maven.plugins.release.versions

Interface VersionInfo

public interface VersionInfo extends Comparable

Method Summary
VersionInfogetNextVersion()
Returns a VersionInfo object which represents the next version of this object.
StringgetReleaseVersionString()
Returns a string representing the version without a snapshot specification.
StringgetSnapshotVersionString()
Returns a string representing the version with a snapshot specification
StringgetVersionString()
Returns a string representing the version without modification.
booleanisSnapshot()
Returns whether this represents a snapshot version.

Method Detail

getNextVersion

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

Returns:

getReleaseVersionString

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

Returns:

getSnapshotVersionString

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

Returns:

getVersionString

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

Returns:

isSnapshot

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

Returns:

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