It's all about the answers!

Ask a question

How to find the Workspace's Stream using Java API.


Jazzuser user (681050) | asked Oct 18 '18, 10:04 a.m.
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



permanent link
David Lafreniere (4.8k7) | answered Oct 19 '18, 3:35 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
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


Register or to post 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.