pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.service
Class Version

java.lang.Object
  extended by org.torweg.pulse.service.Version

public final class Version
extends java.lang.Object

the pulse version.

Version:
$Revision: 2074 $
Author:
Thomas Weber

Nested Class Summary
static class Version.Tag
          enumerates the version tags for pulse.
 
Method Summary
static int getMajorVersion()
          returns the major version of pulse.
static int getMinorVersion()
          returns the minor version of pulse.
static int getSubVersion()
          returns the sub version of pulse.
static java.lang.String getVersionString()
          returns the version string (e.g.
static Version.Tag getVersionTag()
          returns the version tag of the version.
protected static void logVersion()
          logs the version on INFO level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

logVersion

protected static void logVersion()
logs the version on INFO level.


getVersionString

public static java.lang.String getVersionString()
returns the version string (e.g. pulse 0.7 pre 3).

Returns:
the version string

getMajorVersion

public static int getMajorVersion()
returns the major version of pulse.

Returns:
the major version

getMinorVersion

public static int getMinorVersion()
returns the minor version of pulse.

Returns:
the minor version

getSubVersion

public static int getSubVersion()
returns the sub version of pulse.

The sub version is always dependent on the Tag of the version and incremented on a per Tag base.

Returns:
the sub version

getVersionTag

public static Version.Tag getVersionTag()
returns the version tag of the version.

Returns:
the version tag