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

Stream Creation

I'm trying to create a stream using PlainJazzAPI.
In the snippet I've find the method to use (createStream from IWorkspaceManager class) but I can't find out how retrieve a IProcessAreaHandle from my ITeamRepository object or from IWorkspaceManager object. There's a way to get a IProcessAreaHandle without create a new one??
Thanks for any answer.

0 votes



2 answers

Permanent link
I've find out how to create new stream. I've retrieved my IProjectArea using

IProcessItemService service= (IProcessItemService) repo.getClientLibrary(IProcessItemService.class);

List<IProjectArea> projectArea = service.findAllProjectAreas(service.ALL_PROPERTIES, monitor);


and then I use IProjectAreaHandle (obtain with IProjectArea.getProjectArea() method) instead of IProcessAreaHandle. I don't know why Javadoc uses the Process handle, but it makes more sense to use project handle because a stream is in the project Area and doesn't seem so related to the Process.
I hope this can help someone else.

0 votes


Permanent link
A "process area" is an abstraction for either a "project area" or a
"team area". A stream can be owned by either a project area or a team
area, or in other words, in general it can be owned by a process area.

Cheers,
Geoff

mikyjpeg wrote:
I've find out how to create new stream. I've retrieved my IProjectArea
using

IProcessItemService service=
(IProcessItemService)
repo.getClientLibrary(IProcessItemService.class);
List<IProjectArea> projectArea =
service.findAllProjectAreas(service.ALL_PROPERTIES,
monitor);

and then I use IProjectAreaHandle (obtain with
IProjectArea.getProjectArea() method) instead of IProcessAreaHandle.
I don't know why Javadoc uses the Process handle, but it makes more
sense to use project handle because a stream is in the project Area
and doesn't seem so related to the Process.
I hope this can help someone else.

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,948

Question asked: May 09 '09, 11:34 a.m.

Question was seen: 6,758 times

Last updated: May 09 '09, 11:34 a.m.

Confirmation Cancel Confirm