Rule Execution Server API

ilog.rules.tools
Class IlrVersion

java.lang.Object
  extended by ilog.rules.tools.IlrVersion
Direct Known Subclasses:
IlrVersionFullInfo

public abstract class IlrVersion
extends Object

This class contains numbers, which identify the current version and build level of the product. It also provides a main method that can be executed to display product identification. The numbers are updated with each delivery of the product's jar files.

The syntax of the command to display product information is:

    java ilog.rules.tools.IlrVersion
 

This command could display for example:

    ILOG JRules 4.5.1.0
    Build #52 on 2003.06.27 2:04:10 PM
 

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 FIXPACK_VERSION
          The fixpack version of the product
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.
static int UPDATE_VERSION
          The update version of the product.
static String VENDOR
          The name of the vendor of this product.
 
Constructor Summary
protected IlrVersion()
           
 
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

VENDOR

public static final String VENDOR
The name of the vendor of this product. This field contains the literal string "IBM".

See Also:
Constant Field Values

NAME

public static final String NAME
The name of the product. This field contains the literal string "Decision Server".

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 decimal place (dot) 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 decimal place (dot) of the version number.

See Also:
Constant Field Values

UPDATE_VERSION

public static final int UPDATE_VERSION
The update version of the product. This number is the one after the second decimal place (dot) of the version number.

See Also:
Constant Field Values

FIXPACK_VERSION

public static final int FIXPACK_VERSION
The fixpack version of the product

See Also:
Constant Field Values

BUILD_NUMBER

public static final int BUILD_NUMBER
The build number of the product. This number starts from 1 and increases at each build. A build generally includes the most recent patch, 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
Constructor Detail

IlrVersion

protected IlrVersion()
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 short product identification.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013