|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.qfs.lib.Version
This class provides access to the qflib version number. The version is composed of a major a minor and a release part.
Releases of qflib with different major version are generally considered incompatible. Differences in minor version are also considered incompatible, but may not be fatal.
The release number is increased for bug fixes and extensions that do not change any visible interfaces.
Field Summary | |
static java.lang.String |
COMPILE_JDK
|
static java.lang.String |
JDK_VERSION
The JDK version to which this qflib version is compatible. |
static int |
MAJOR
The major version. |
static int |
MINOR
The minor version. |
static int |
RELEASE
The release number. |
Constructor Summary | |
Version()
|
Method Summary | |
static java.lang.String |
getVersion()
Get the full qflib version as a String. |
static void |
main(java.lang.String[] argv)
Dump the version numbers for this release to System.out. |
static boolean |
require(int major,
int minor,
int release)
Check, whether this release of qflib is compatible with the required version. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAJOR
public static final int MINOR
public static final int RELEASE
public static final java.lang.String JDK_VERSION
public static final java.lang.String COMPILE_JDK
Constructor Detail |
public Version()
Method Detail |
public static java.lang.String getVersion()
public static final boolean require(int major, int minor, int release)
major
- The required major version. Must be equal to
MAJOR
.minor
- The required minor version. Must be equal to
MINOR
.release
- The required major version. Must be less than or equal
to RELEASE
.
public static void main(java.lang.String[] argv)
|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |