Rule Execution Server API

ilog.rules.tools
Class IlrVersionFullInfo

java.lang.Object
  extended by ilog.rules.tools.IlrVersion
      extended by ilog.rules.tools.IlrVersionFullInfo

public abstract class IlrVersionFullInfo
extends IlrVersion

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 at each delivery of the product's jar files.

The syntax of the command to display product information is:

     java ilog.rules.tools.IlrVersionFullInfo
 

This command could display for example:

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

The main method does not use any command-line arguments.


Field Summary
static int PATCH_LEVEL
          The patch level of the product.
static String RELEASE_STATUS
          The release status.
 
Fields inherited from class ilog.rules.tools.IlrVersion
BUILD_NUMBER, DATE, FIXPACK_VERSION, MAJOR_VERSION, MINOR_VERSION, NAME, UPDATE_VERSION, VENDOR
 
Constructor Summary
protected IlrVersionFullInfo()
           
 
Method Summary
static String getDescription()
          Returns a string that describes the product version and patch level.
static String getFullVersionNumber()
          Returns a string that gives the full product version number Version = MAJOR_VERSION Release = MINOR_VERSION Mode = UPDATE_VERSION Fixpack = FIXPACK_VERSION
static String getPatchLevel()
          Returns a string that describes the patch level.
static String getVersion()
          Returns a string that describes the product version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PATCH_LEVEL

public static final int PATCH_LEVEL
The patch level of the product. There can be several builds between two patch releases.

See Also:
Constant Field Values

RELEASE_STATUS

public static final String RELEASE_STATUS
The release status. Usual values are CONSTRUCTION, ALPHA, BETA and COMMERCIAL.

Free text comments are OK (maximum 100 characters).

See Also:
Constant Field Values
Constructor Detail

IlrVersionFullInfo

protected IlrVersionFullInfo()
Method Detail

getVersion

public static final String getVersion()
Returns a string that describes the product version.

Returns:
A string containing the product version.

getFullVersionNumber

public static final String getFullVersionNumber()
Returns a string that gives the full product version number Version = MAJOR_VERSION Release = MINOR_VERSION Mode = UPDATE_VERSION Fixpack = FIXPACK_VERSION

Returns:
A string containing the product version number in its full form: Version.Release.Mode.Fixpack; ex 7.1.0.0

getPatchLevel

public static final String getPatchLevel()
Returns a string that describes the patch level.

Returns:
A string containing the patch level.

getDescription

public static String getDescription()
Returns a string that describes the product version and patch level. This string is printed by the main method.

Returns:
A string containing full product identification.

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013