Get full path name for IVersionableHandle
![]()
Jeff Care (1.0k●38●33)
| asked Mar 14 '11, 4:50 p.m.
edited Oct 12 '17, 1:24 p.m. by David Lafreniere (4.8k●7) Assume I have an IVersionableHandle
<b:ab332a6966>
and
</b:ab332a6966>
its associated IConfiguration context: what's when best way to determine the path name of the referenced IVersionable?
private String getCanonicalName (IVersionableHandle versionable, final IConfiguration context) throws TeamRepositoryException { |
Accepted answer
2 other answers
![]()
Hi,
I'm trying to do the same on a postop delivery server-side plugin. How can I obtain IConfiguration? Thanks, Andrea _________________ Andrea Gabrielli Nexen Business Consultant I think the IConfiguration#locateAncestors method will give you the path of the versionable. Awesome, that worked, thanks. In our present SCM system "ancestor" has an entirely different meaning so I didn't even look at that method; that's what I get for viewing RTC through the lens of what we're already used to... |
![]()
Hi,
the example https://jazz.net/wiki/pub/Main/RTCSDK20_ProcessPreConditionExample/advisor-example.zip resolved my problem. Andrea _________________ Andrea Gabrielli Nexen Business Consultant Hi, I think the IConfiguration#locateAncestors method will give you the path of the versionable. Awesome, that worked, thanks. In our present SCM system "ancestor" has an entirely different meaning so I didn't even look at that method; that's what I get for viewing RTC through the lens of what we're already used to... |
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.