Show Repository files in the component Option through Java API
Accepted answer
You can walk the hierarchy through the configuration object which can be obtained from your connection.
See:
IFlowNodeConnection#configuration(IComponentHandle)
IConfiguration#childEntries
See:
IFlowNodeConnection#configuration(IComponentHandle)
IConfiguration#childEntries
Comments
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());
}