I want IVersionableHandle object with plain java Api
Hello,
I am working with plain java application, i am able to find project area, stream, component. Now I want IVersionableHandle object to do few operation, I am not able to find the exact way how can i get this object with plain java api. Please let me know the steps to find this handler. I want to give IVersionableHandle to this function as an input public static List<Association> getAllAssociationsForFile(ITeamRepository repo, IWorkspaceHandle workspace, IComponentHandle component, String sandboxLocation_CanBeNullIfRunningFromWithinEclipseRTC, IVersionableHandle file) If any other information required then let me know. Thanks!! Regards, Vikas |
One answer
Try getting the configuration from the connection and then asking the config for the child entries.
See: IFlowNodeConnection#configuration(IComponentHandle) IConfiguration#childEntries |
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
Hi, can you explain what information you have? Like the path to the file, or the file name?
I IVersionableHandle is a reference to a file under source control. So what do you want a reference to?
I've made a lot of stuff like this, and can easily supply code samples.
Hello,
As of now I have file Path(loaded path eg: "tk/Just_a_file.txt" ) and file UUID.
Regards,
Vikas
Please let me know the solution.
Hi Vikash,
how did you get RTC source control file path using Plain Java API. i am new to this and idk know how to start.