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. |
2 answers
I've find out how to create new stream. I've retrieved my IProjectArea using
IProcessItemService service= (IProcessItemService) repo.getClientLibrary(IProcessItemService.class); 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. |
Geoffrey Clemm (30.1k●3●30●35)
| answered May 12 '09, 12:04 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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 |
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.