NAME

CQCC::CCPerlAPI - ClearCase Interface using CtCmd Perl API


CLASS DESCRIPTION

This class manages an interface to ClearCase using the CtCmd Perl API instead of using ClearTool processes directly. In order to be used, the CtCmd.pm package must be present in the @INC Perl path and the configuration file must ask for it as the ClearCaseInterface class as shown below:

    &SetConfigParm("ClearCaseInterface", "CQCC::CCPerlAPI");

SUPPORT POLICY: See TriggerCQCC.pm for the Rational Support Policy.


METHODS

ClassTest(@args)
This function will create an instance of the class then invoke the base ClassTest function to run unit tests.

new()
This method creates a new CCPerlAPI object. Since no initialization is required, it just creates the object instance.

PostCommand($operation)
This method will send the provided $operation string to the main entry function for the CtCmd package to execute it as a ClearCase command. It returns an array of output lines.

@data = $obj->PostCommand($cmd);