org.ceryle.util
Class Release

java.lang.Object
  extended by org.ceryle.util.Release

public class Release
extends Object

Ceryle's version information used to be stored in the Constants file (if that says anything about constancy). This class is modelled on the same-named class in JSPWiki, a place to contain all the versioning and release status information in one place.

This replaces an earlier approach to this and is now based on the same-named class from JSPWiki.

Version:
$Id: Release.java,v 3.2 2007-06-15 12:09:57 altheim Exp $
Author:
Murray Altheim

Field Summary
static String APP_NAME
          This is the application name.
static int MINOR_REVISION
          This is the minor version number.
static int REVISION
          This is the revision number.
static int VERSION
          This is the major version number.
static String VERSION_NAME
          This is the development version code name used to describe the version.
static String VERSION_NUMBER
          This is the descriptive version string you should use when printing out the version.
 
Constructor Summary
Release()
           
 
Method Summary
static String getVersionString()
          This method is useful for templates, because hopefully it will not be inlined, and thus any change to version number does not need recompiling the pages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_NAME

public static final String APP_NAME
This is the application name. E.g., "Ceryle".

See Also:
Constant Field Values

VERSION

public static final int VERSION
This is the major version number. In the version string format "x.y.z-ttt", this is the "x" value. The fixed value is "1".

See Also:
Constant Field Values

REVISION

public static final int REVISION
This is the revision number. In the version string format "x.y.z-ttt", this is the "y" value. The fixed value is "0".

See Also:
Constant Field Values

MINOR_REVISION

public static final int MINOR_REVISION
This is the minor version number. In the version string format "x.y.z-ttt", this is the "z" value. The fixed value is "13".

See Also:
Constant Field Values

VERSION_NUMBER

public static final String VERSION_NUMBER
This is the descriptive version string you should use when printing out the version. It is of the form "x.y.z-ttt". The fixed value is ""1.0.-alpha13"".

See Also:
Constant Field Values

VERSION_NAME

public static final String VERSION_NAME
This is the development version code name used to describe the version. E.g., "SkipJack".

See Also:
Constant Field Values
Constructor Detail

Release

public Release()
Method Detail

getVersionString

public static String getVersionString()
This method is useful for templates, because hopefully it will not be inlined, and thus any change to version number does not need recompiling the pages.

Since:
1.0a10


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.