<interface> 元素是适配器入口点的容器。其中的元素定义了适配器的程序逻辑。它包含 <setenv>、<run>、<ontempenv>、<onproject> 和 <adduser> 元素。
要指定入口点,请在对模板的 .source 调用中将入口点名称用作参数。
示例:创建名为 MyAdaptorTemplate 的适配器模板。在该模板中,放入以下代码以定义指定的入口点并将它设置为缺省值:
<interface name="By Date" default="true">
</interface>
要通过名称调用此接口,请在项目步骤中使用以下命令:
.source MyAdaptorTemplate "By Date"
属性: