自动创建更改通告自定义
此外,该定制器还可以重新实现自动创建默认更改通告和相应更改任务 (DefaultAutomateCreateChangeNoticeHandler.java) 的处理程序,并覆盖以下方法:
public abstract void
createChangeNoticeFromChangeRequest(WTChangeRequest2
changeRequest,
NmCommandBean cb) throws WTException;
要在配置文件 ChangeManagement-service-properties.xconf 中注册新处理程序:
<Service context="default"
name="com.ptc.windchill.enterprise.change2.handler.AutomateCreateC
hangeNoticeHandler">
<Option
serviceClass="com.ptc.windchill.enterprise.change2.handler.Defa
ultAutomateCreateChangeNoticeHadler"
selector="DefaultHandler" requestor="null"
cardinality="duplicate"/
</Service>
这对您有帮助吗?