queryChangeRequests
说明
返回与查询功能 changeRequests
= queryChangeRequests(myQueryCapability
)myQueryCapability
关联的开放生命周期协作服务 (OSLC) 服务提供商中的可用变更请求资源。
示例
查询服务提供商的变更请求
此示例显示如何使用已配置的 OSLC 客户端提交变更请求资源查询。
按照为变更管理域创建并配置 OSLC 客户端中所述创建并配置 OSLC 客户端myClient
后,为变更请求资源类型创建查询功能。
myQueryCapability = getQueryService(myClient,'ChangeRequest')
myQueryCapability = QueryCapability with properties: queryParameter: '' client: [1×1 oslc.Client] queryBase: 'https://localhost:9443/rm/views?oslc.query=true&projectURL=http...' resourceShape: {0×1 cell} dom: [1×1 matlab.io.xml.dom.Element] title: 'Query Capability' resourceType: {1×2 cell}
向服务提供商提交可用的变更请求资源的查询请求。
changeRequests = queryChangeRequests(myQueryCapability)
changeRequests = 1×7 ChangeRequest array with properties: ResourceUrl Dirty IsFetched Title Identifier
输入参数
myQueryCapability
— 资源查询功能
oslc.core.QueryCapability
对象
OSLC 资源查询功能,指定为 oslc.core.QueryCapability
对象。
输出参量
changeRequests
— 变更请求资源
oslc.cm.ChangeRequest
对象
OSLC 变更请求资源,作为 oslc.cm.ChangeRequest
对象返回。
版本历史记录
在 R2021a 中推出
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)