BuildForge Help

Creating Multiple Entry Point Adaptors

The adaptor templates provided by Build Forge are single entry point adaptors.

For single entry point adaptors, in the Management Console (Projects > Adaptors), you select the template name for the application and function that you want to execute. For example, ClearCaseBaseline or ClearCaseByDate.

If you prefer you can create one adaptor template for ClearCase that contains multiple interfaces or functions for ClearCase. For a multiple entry point adaptor, you identify each interface by a name, called an entry point.

To create a multiple entry point adaptor:

  1. Create the adaptor template.

    To create the template, you have the option of using one of the provided templates as a model and modifying the XML as necessary.

    In the template, you must add the name attribute to the <interface> element to identify the entry point for each interface that you add to the template.

    The related syntax for the interface element is shown in the following example:

    <interface name="By Date" default="true">
    </interface>
  2. Create an adaptor with a unique name and associate it with the adaptor template. See Creating an Adaptor from a Template.
  3. Add the adaptor to the project using an adaptor link or an adaptor dot command.
    • The following example uses the .source adaptor command to add the adaptor to a project step which calls the By Date interface function in the ClearCase adaptor:
      .source ClearCase "By Date"
    • To use an adaptor link to call a multiple entry point adaptor, take one of the following actions in the adaptor template to specify which interface function gets executed when the project runs:
      • place the interface element definition for the function to execute as the first interface element in the template file
      • set the default attribute for the interface element to execute to true (default="true")