Getting the stream to which the changesets are flowing in currently
Anjaly Bastian (11●6●8)
| asked May 27 '13, 6:31 a.m.
edited May 27 '13, 7:54 a.m. by Ralph Schoon (63.6k●3●36●47)
Out of the many streams that i created, I want to read, using RTC SDK, that particular stream to which currently the change sets are flowing in that project area. Is there a way to get the same using RTC SDK
|
One answer
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.
Comments
Can you clarify what you mean by change sets flowing in a project area? Change sets don't flow in a project area. You can have flow targets on streams and repository workspaces and that shows intent to deliver/accept changes to/from other streams and repository workspaces.
I have created 3 streams, say stream 1, stream 2, stream 3. stream 3 would be my latest created stream. But in my repository workspace I have given stream 2 as flow target.Using RTC SDK how would I read stream 2, i.e the stream where my latest components would be available.I tried the below search criteria:-
final IWorkspaceSearchCriteria workspaceSearchCriteria = IWorkspaceSearchCriteria.FACTORY.newInstance();
workspaceSearchCriteria.setKind( IWorkspaceSearchCriteria.STREAMS ); workspaceSearchCriteria.setOldestFirst( true workspaceSearchCriteria.setExactOwnerName( projectName );.
But this returns stream 3. What should be the search criteria when i want to read the stream to which currently the flow is going in.