It's all about the answers!

Ask a question

Plain Java client - Retrieving ClearCase Versions link info


Rich Pastuch (2197) | asked Nov 23 '11, 7:52 a.m.
How do I retrieve ClearCase Versions link information using a Plain Java client? For built-in link types, I would use something like

linkManager.findLinksByTarget(WorkItemLinkTypes.PARENT_WORK_ITEM, IReference, IProgressMonitor).getAllLinksFromHereOn();


However, I did not see ClearCase Versions listed in WorkItemLinkTypes.


Thanks.

One answer



permanent link
Masabumi koinuma (46115) | answered Nov 28 '11, 10:07 a.m.
JAZZ DEVELOPER
Hi, you can use pre-defined link types in com.ibm.team.connector.ccbridge.common.ClearCaseWorkItemLink .
The ACT_WI_LINK_TYPE is for UCM activities and the VER_WI_LINK_TYPE is for base ClearCase versions.
So, it would be something like,

linkManager.findLinksByTarget(ClearCaseWorkItemLink.VER_WI_LINK_TYPE.toString(), IReference, IProgressMonitor).getAllLinksFromHereOn();

How do I retrieve ClearCase Versions link information using a Plain Java client? For built-in link types, I would use something like

linkManager.findLinksByTarget(WorkItemLinkTypes.PARENT_WORK_ITEM, IReference, IProgressMonitor).getAllLinksFromHereOn();


However, I did not see ClearCase Versions listed in WorkItemLinkTypes.


Thanks.

Your answer


Register or to post your answer.