org.directwebremoting.util
Class VersionUtil
java.lang.Object
org.directwebremoting.util.VersionUtil
public class VersionUtil
- extends java.lang.Object
Interface to the system version info file.
DWR version numbers are of the form "Version 1.2.3.3128[.beta]", where:
- 1 is the major release number. Changes in major version number indicate
significant enhancements in functionality
- 2 is the minor release number. Changes in minor version number indicate
less significant changes in functionality
- 3 is the revision release number. Changes here typically indicate bug
fixes only
- 3128 is the build number. This number increments for each build
- .beta is a release title that is generally only used for non production
releases to indicate the purpose/quality of the release
- The label is these strings concatenated
- Author:
- Joe Walker [joe at getahead dot ltd dot uk]
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionUtil
public VersionUtil()
getVersion
@Deprecated
public static java.lang.String getVersion()
- Deprecated. Use
getLabel()
- Fish the version number out of the dwr.properties file.
- Returns:
- The current version number.
getMajor
public static int getMajor()
- Returns:
- The major version number of this release
getMinor
public static int getMinor()
- Returns:
- The minor version number of this release
getRevision
public static int getRevision()
- Returns:
- The revision version number of this release
getBuild
public static int getBuild()
- Returns:
- The build number of this release
getTitle
public static java.lang.String getTitle()
- Returns:
- The optional title of this release
getLabel
public static java.lang.String getLabel()
- Returns:
- The full version string