interface

The <interface> element is a container for an entry point into the adaptor. Elements in it define the program logic of the adaptor. It contains <setenv>, <run>, <ontempenv>, <onproject>, and <adduser> elements.

An adaptor template can have multiple entry points. If you create an adaptor template that has multiple entry points, do the following:

To specify an entry point, use the entry point name as a parameter on a .source call to the template.

Example: create an adaptor template named MyAdaptorTemplate. In it, place the following code in it to define a named entry point and make it the default:

<interface name="By Date" default="true">
</interface>

To call this interface by name, use the following command in a project step:

.source MyAdaptorTemplate "By Date"

Attributes:

name
Optional. The name for this interface. When an adaptor is called using a name as a parameter, the interface whose name matches that parameter is used.
default
Optional. Set to either Yes or No. If Yes, the interface is used when the adaptor is called without a name parameter.

Feedback