|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.util.Release
public class Release
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.
| 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 |
|---|
public static final String APP_NAME
public static final int VERSION
public static final int REVISION
public static final int MINOR_REVISION
public static final String VERSION_NUMBER
public static final String VERSION_NAME
| Constructor Detail |
|---|
public Release()
| Method Detail |
|---|
public static String getVersionString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||