How to find the Workspace's Stream using Java API.
Hello All,
I have a workspace handle : IWorkspace workspace = (IWorkspace)currentWIRepo.itemManager().fetchCompleteItem(eachHandle, IItemManager.REFRESH, monitor);
I need to check what is the Stream of this Workspace. I couldnt find any when i searched with the workspace(dot).
Are there any APIs to find the Stream.
Thank you.
|
One answer
Take a look at:
IWorkspaceManager workspaceManager = SCMPlatform.getWorkspaceManager(repo);
IWorkspaceConnection wc = workspaceManager.getWorkspaceConnection(workspaceHandle, progress.newChild(10));
IFlowTable flowTable = wc.getFlowTable();
// Ex: flowTable.getCurrentDeliverFlow()
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.