Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


oracle.dss.util
Class VersionInfo

java.lang.Object
  |
  +--oracle.dss.util.VersionInfo

public class VersionInfo
extends java.lang.Object

VersionInfo Support for runtime version information.
The class provides a number of method to get version information for the oracle.dss.* packages based on a provided class or package. The following information can be obtained for a package:


Field Summary
static java.lang.String BUILD_MODE
           
static java.lang.String BUILD_VERSION
           
static java.lang.String COMPONENT_NUMBER
           
static java.lang.String PACKAGE_NAME
           
static java.lang.String RELEASE_DESCRIPTION
           
static java.lang.String SOURCE_URL
           

 

Constructor Summary
VersionInfo()
           

 

Method Summary
static java.util.Properties getProperties(java.lang.Class versionClass)
          Provide all the package version information of a class
static java.util.Properties getProperties(java.lang.Object versionObject)
          Provide all the package version information of an object
static java.util.Properties getProperties(java.lang.String versionPackage)
          Provide all the package version information of a class or package represented by a String
static java.lang.String getProperty(java.lang.Class versionClass, java.lang.String key)
          Provide a particular version information value for a class
static java.lang.String getProperty(java.lang.Object versionObject, java.lang.String key)
          Provide a particular version information value for an object
static java.lang.String getProperty(java.lang.String versionPackage, java.lang.String key)
          Provide a particular version information value of a class or package represented by a String

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

BUILD_VERSION

public static final java.lang.String BUILD_VERSION

COMPONENT_NUMBER

public static final java.lang.String COMPONENT_NUMBER

RELEASE_DESCRIPTION

public static final java.lang.String RELEASE_DESCRIPTION

BUILD_MODE

public static final java.lang.String BUILD_MODE

PACKAGE_NAME

public static final java.lang.String PACKAGE_NAME

SOURCE_URL

public static final java.lang.String SOURCE_URL
Constructor Detail

VersionInfo

public VersionInfo()
Method Detail

getProperties

public static java.util.Properties getProperties(java.lang.Class versionClass)
Provide all the package version information of a class
Parameters:
versionClass - the class to get the version information for
Returns:
the version information as properties

getProperties

public static java.util.Properties getProperties(java.lang.Object versionObject)
Provide all the package version information of an object
Parameters:
versionObject - the object to get the version information for
Returns:
the version information as properties

getProperties

public static java.util.Properties getProperties(java.lang.String versionPackage)
Provide all the package version information of a class or package represented by a String
Parameters:
versionPackage - the package to get the version information for
Returns:
the version information as properties

getProperty

public static java.lang.String getProperty(java.lang.Class versionClass,
                                           java.lang.String key)
Provide a particular version information value for a class
Parameters:
versionClass - the class to get the version information for
key - the key for the requested value
Returns:
the version information value as a String

getProperty

public static java.lang.String getProperty(java.lang.Object versionObject,
                                           java.lang.String key)
Provide a particular version information value for an object
Parameters:
versionObject - the object to get the version information for
key - the key for the requested value
Returns:
the version information value as a String

getProperty

public static java.lang.String getProperty(java.lang.String versionPackage,
                                           java.lang.String key)
Provide a particular version information value of a class or package represented by a String
Parameters:
versionPackage - the package to get the version information for
key - the key for the requested value
Returns:
the version information value as a String

Oracle™ Business Intelligence Beans Java API Reference
Release 10
g (9.0.4)
Part number B12159_01


Copyright © 2003, Oracle. All Rights Reserved.