AfterCreateComponent
该界面调用的脚本应用程序用于影响新创建的组件。一旦用户创建了新组件,该接口就会立即启动相关的脚本应用程序。如果出现错误,则会再次删除组件。
该脚本应用程序的命令行
没有代理:
AfterCreateComponent.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the server archive] /at:s
使用代理时:
AfterCreateComponent.exe /ConfigFileW:[absolute path of the interface file] /rd:[path of the agent archive] /at:s
界面文件的描述
[Common]、[Component]、[User] 和 [Result] 节在 界面文件的通用部分 中有详细说明。
Specific 节
在 [Specific] 节中,可以配置以下键:
键 | I/O | 描述 | 值 |
---|---|---|---|
WorkingDir | I | 组件工作目录的完整路径 | |
模式 | I | 表示组件是新创建的还是复制的。 | 创建:新创建组件。 复制:该组件被复制到另一个组件上。 |