How do you access and use the IWorkspaceConnectionInteropAdapter interface?
Thorsten Ferres (13●6●7)
| asked Feb 14 '14, 10:13 a.m.
converted to question Feb 19 '14, 2:07 p.m. by Geoffrey Clemm (30.1k●3●30●35)
Hello Michael,
could you please explain how to access and use the IWorkspaceConnectionInteropAdapter interface in more detail? Thanks, Thorsten |
One answer
Here's how you get the adapter from a workspace connection.
IWorkspaceConnection workspace = ???; IWorkspaceConnectionInteropAdapter op = (IWorkspaceConnectionInteropAdapter)workspace.getAdapter(IWorkspaceConnectionInteropAdapter.class); Once you have the adapter, you can use it to import a change set with a specified date and author. Comments Hello Michael,
Michael Valenta
commented Feb 19 '14, 8:38 a.m.
| edited Feb 19 '14, 2:09 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Thorsten,
I have now passed the IConfigurationOp-objects in an ArrayList for both files and folders (if required) to the importChangeSet() method, but I finally get a
Michael Valenta
commented Feb 19 '14, 1:44 p.m.
| edited Feb 19 '14, 2:09 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
The list that is passed to the compareTo method is supposed to be a list of components to be excluded from the comparison. It appears you are passing the changes fro a change set instead.
|
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.