ProductInfo Object

A CQProductInfo object provides Rational® ClearQuest® product information, such as product version, license version and company information.

Note: The CQProductInfo object and its methods are for usage with Perl only.

The CQProductInfo methods return information to identify product information and its current build. The methods of CQProductInfo allow you to retrieve information such as:

To create a CQProductInfo object, you can use the CreateProductInfo method of a Rational ClearQuest object. For example:

   use CQPerlExt;

   my $cqobject = CQSession::Build();

   my $prodinfo = $cqobject->GetProductInfo();

   print $prodinfo->GetProductVersion(),"\n";

   CQSession::Unbuild($cqobject); 

You can also CQProductInfo methods directly, from Perl, without creating a Rational ClearQuest session.

   use CQPerlExt;

   print CQProdInfo::GetProductVersion(),"\n"; 

Feedback