|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.acelogger.VersionInfo
public final class VersionInfo

This class holds information regarding this release of AceLogger.
| Field Summary | |
|---|---|
static int |
BUILD_NUMBER
The build number for this release. |
static int |
MAJOR_VERSION
The major version number for this release. |
static int |
MINOR_VERSION
The minor version number for this release. |
static String |
PROJECT_NAME
The project name with proper case. |
static String |
PROJECT_SITE
The project's site on the Internet. |
static String |
VERSION_CLASSIFIER
The classifier of this release. |
static String |
VERSION_CODENAME
This version's codename. |
| Method Summary | |
|---|---|
static String |
getBuildName()
Returns the build name of this release. |
static String |
getBuildString()
Returns the complete version string for this release, including major, minor, build and classifier. |
static String |
getReleaseDescriptor()
Returns the descriptor for this release. |
static String |
getVersionString()
Returns the build version string, including major, minor and build numbers. |
static boolean |
isHigherThan(int major)
Checks if this release is higher (newer) than the supplied version. |
static boolean |
isHigherThan(int major,
int minor)
Checks if this release is higher (newer) than the supplied version. |
static boolean |
isHigherThan(int major,
int minor,
int build)
Checks if this release is higher (newer) than the supplied version. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PROJECT_NAME
public static final String VERSION_CODENAME
public static final String PROJECT_SITE
public static final int MAJOR_VERSION
public static final int MINOR_VERSION
public static final int BUILD_NUMBER
public static final String VERSION_CLASSIFIER
| Method Detail |
|---|
public static String getBuildString()
public static String getVersionString()
public static String getReleaseDescriptor()
getBuildString()public static String getBuildName()
getBuildString()
public static boolean isHigherThan(int major,
int minor,
int build)
major - The major version number.minor - The minor version number.build - The build number.
public static boolean isHigherThan(int major,
int minor)
major - The major version number.minor - The minor version number.
public static boolean isHigherThan(int major)
major - The major version number.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||