|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
org.globus.common
Class Version
java.lang.Object | +--org.globus.common.Version
- public class Version
- extends java.lang.Object
This class allows to query the current version of the released software. The release number is assambled by MAJOR.MINOR.PATCH
| Field Summary | |
static int |
MAJOR
The major release number |
static int |
MINOR
The minor release number |
static int |
PATCH
The patchlevel of the current release |
| Constructor Summary | |
Version()
|
|
| Method Summary | |
static int |
getMajor()
Returns the major release number |
static int |
getMinor()
Returns the minor release number |
static int |
getPatch()
Returns the patch level |
static java.lang.String |
getVersion()
Retruns the current version as string in the form MAJOR.MINOR.PATCH |
static void |
main(java.lang.String[] args)
Returns the version for the Java CoG Kit as a readble string. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
MAJOR
public static final int MAJOR
- The major release number
- See Also:
- Constant Field Values
MINOR
public static final int MINOR
- The minor release number
- See Also:
- Constant Field Values
PATCH
public static final int PATCH
- The patchlevel of the current release
- See Also:
- Constant Field Values
| Constructor Detail |
Version
public Version()
| Method Detail |
getVersion
public static java.lang.String getVersion()
- Retruns the current version as string in the form MAJOR.MINOR.PATCH
getMajor
public static int getMajor()
- Returns the major release number
- Returns:
- the major release
getMinor
public static int getMinor()
- Returns the minor release number
- Returns:
- the minor release number
getPatch
public static int getPatch()
- Returns the patch level
- Returns:
- the patch level
main
public static void main(java.lang.String[] args)
- Returns the version for the Java CoG Kit as a readble string.
- Parameters:
args-
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||