CQCC::MyTrigger - TriggerCQCC subclass template.
<CHANGE> Modify description depending on the purpose of your trigger.
NOTE: Anyone interested in understanding how the overall trigger works or who is contemplating customizing the behavior of the trigger should start with a review of the TriggerCQCC class and how its methods work. Most changes in visible behavior of the trigger will involve changes in this class. For additional source code documentation, contact Rational Customer Support.
If local changes are needed, do NOT make them directly to the TriggerCQCC source code: make a copy of the MyTrigger template class, rename it, and make your changes there by overriding or extending the TriggerCQCC methods. Doing this will facilitate upgrading to later releases of the CQCC trigger from Rational and provide a fallback to the released trigger for working with Rational Customer Support.
For example, to create a TriggerCQCC subclass called TriggerLocal, follow these steps:
1) Copy MyTrigger.pm to TriggerLocal.pm.
2) Globally replace ``MyTrigger'' with ``TriggerLocal''.
3) Copy only the TriggerCQCC methods that you want to change to TriggerLocal.pm. All other methods will be inherited from TriggerCQCC without needing to copy them.
4) Make your code changes in the copy of the method in TriggerLocal.pm.
5) Modify your configuration file (config.pl) to use your subclass for the trigger.
&SetConfigParm("TriggerInterface", "CQCC::TriggerLocal");
SUPPORT POLICY: See TriggerCQCC.pm for the Rational Support Policy.
new CQCC::MyTrigger()