Decision Center API

ilog.webui.dhtml
Class IlxWVersion

java.lang.Object
  extended by ilog.webui.dhtml.IlxWVersion

public abstract class IlxWVersion
extends Object

This class contains numbers that identify the product's current version and build level.

It also provides a main method that can be executed to display product identification. The numbers are updated at each delivery of the product's jar files.

The syntax of the command to display product information is:

 java ilog.webui.dhtml.IlxWVersion
 
This command could display for example:
 "ILOG Web Components 1.0 (build 2) of 2000.11.16"
 
The main method does not use any command-line arguments.


Field Summary
static int BUILD_NUMBER
          The build number of the product.
static String DATE
          The delivery date.
static int MAJOR_VERSION
          The major version of the product.
static int MINOR_VERSION
          The minor version of the product.
static String NAME
          The name of the product.
 
Method Summary
static String getDescription()
          Returns a string that describes the product version and patch level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
The name of the product. This field contains the string literal "ILOG Web Components".

See Also:
Constant Field Values

MAJOR_VERSION

public static final int MAJOR_VERSION
The major version of the product. This number is the one before the comma of the version number.

See Also:
Constant Field Values

MINOR_VERSION

public static final int MINOR_VERSION
The minor version of the product. This number is the one after the comma of the version number. It is a 2-digit number. A typical sequence of minor version number is: 0 (for version X.0), 10 (for version X.1), 11 (for version X.11), 20 (for version X.2), 21 (for version X.21), 22 (for version X.22), and so on.

See Also:
Constant Field Values

BUILD_NUMBER

public static final int BUILD_NUMBER
The build number of the product. This number starts from 0 and increases at each build. A build generally includes the most recent patches, and the patches are always inclusive.

See Also:
Constant Field Values

DATE

public static final String DATE
The delivery date. The string is of the form yyyy.mm.dd.

See Also:
Constant Field Values
Method Detail

getDescription

public static String getDescription()
Returns a string that describes the product version and patch level.

This string is the one printed by the main method.

Returns:
A string containing full product identification.

Decision Center API

© Copyright IBM Corp. 1987, 2013