Show Repository files in the component Option through Java API
Vijay Reddy Gaddam (56●30●41)
| asked May 28 '15, 5:18 a.m.
edited May 28 '15, 9:50 a.m. by DJ Houghton (266●3)
Is there any JAVA API equivalent to get the list of files that are available in a component.
|
Accepted answer
You can walk the hierarchy through the configuration object which can be obtained from your connection.
See: IFlowNodeConnection#configuration(IComponentHandle) IConfiguration#childEntries Vijay Reddy Gaddam selected this answer as the correct answer
Comments
Vijay Reddy Gaddam
commented Jun 01 '15, 5:36 a.m.
Snippet:
IConfiguration compConfig = workspaceConn.configuration(compHandle);
System.out.println("Componet UUid:" + compConfig.component().getItemId());
Map projectFolders = compConfig.childEntriesForRoot(null);
for (Object folder1 : projectFolders.keySet()) {
System.out.println(folder1.toString());
}
|
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.