|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.derby.tools.sysinfo
public class sysinfo
This class displays system information to system out. To run from the command-line, enter the following:
java org.apache.derby.tools.sysinfo
Also available on this class are methods which allow you to determine the version of the code for the system without actually booting a database. Please note that this is the Derby version of the .jar files, not of your databases.
The numbering scheme for released Derby products is m1.m2.m3
where m1
is the major release version, m2
is the minor release version,
and m3
is the maintenance level. Versions of the product with the same
major and minor version numbers are considered feature compatible.
Valid major and minor versions are always greater than zero. Valid maintenance versions are greater than or equal to zero.
Field Summary | |
---|---|
static java.lang.String |
CLIENT
The genus name for the client code. |
static java.lang.String |
DBMS
The genus name for the Apache Derby code. |
static java.lang.String |
NET
The genus name for the network server code. |
static java.lang.String |
TOOLS
The genus name for the tools code. |
Method Summary | |
---|---|
static java.lang.String |
getBuildNumber()
gets the build number for the Apache Derby embedded library |
static java.lang.String |
getBuildNumber(java.lang.String genus)
gets the build number for the specified library |
static void |
getInfo(java.io.PrintWriter out)
|
static int |
getMajorVersion()
gets the major version of the Apache Derby embedded code. |
static int |
getMajorVersion(java.lang.String genus)
gets the major version of the specified code library. |
static int |
getMinorVersion()
gets the minor version of the Apache Derby embedded code. |
static int |
getMinorVersion(java.lang.String genus)
gets the minor version of the specified code library. |
static java.lang.String |
getProductName()
gets the product name for the Apache Derby embedded library |
static java.lang.String |
getProductName(java.lang.String genus)
gets the external name for the specified code library. |
static java.lang.String |
getVersionString()
Return the version information string for the specified library including alpha or beta indicators. |
static java.lang.String |
getVersionString(java.lang.String genus)
Return the version information string for the Apache Derby embedded library including alpha or beta indicators. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DBMS
public static final java.lang.String TOOLS
public static final java.lang.String NET
public static final java.lang.String CLIENT
Method Detail |
---|
public static void main(java.lang.String[] args)
public static int getMajorVersion()
public static int getMajorVersion(java.lang.String genus)
genus
- which library to get the version of. Valid inputs include
DBMS, TOOLS, NET, CLIENT
public static int getMinorVersion()
public static int getMinorVersion(java.lang.String genus)
genus
- which library to get the version of. Valid inputs include
DBMS, TOOLS, NET, CLIENT.
public static java.lang.String getBuildNumber()
public static java.lang.String getBuildNumber(java.lang.String genus)
genus
- which library to get the build number for. Valid inputs are
DBMS, TOOLS, NET, CLIENT.
public static java.lang.String getProductName()
public static java.lang.String getProductName(java.lang.String genus)
genus
- which library to get the name for
public static java.lang.String getVersionString()
public static java.lang.String getVersionString(java.lang.String genus)
public static void getInfo(java.io.PrintWriter out)
|
Built on Wed 2007-08-01 06:53:39-0700, from revision 561794 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |