Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link
Take a look at:

IWorkspaceManager workspaceManager = SCMPlatform.getWorkspaceManager(repo);
IWorkspaceConnection wc = workspaceManager.getWorkspaceConnection(workspaceHandle, progress.newChild(10));
IFlowTable flowTable = wc.getFlowTable();
// Ex: flowTable.getCurrentDeliverFlow()

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,940
× 1,203

Question asked: Oct 18 '18, 10:04 a.m.

Question was seen: 2,196 times

Last updated: Oct 19 '18, 3:35 p.m.

Confirmation Cancel Confirm