How to programmatically construct the absolute URI for an object like snapshot?
![]()
Team,
this is a self-answered question. Problem: Needing to construct a Related Artifact link to the absolute URI of a snapshot. Given are: IBaselineSet snapshot ITeamRepository teamRepository Needed: URI snapshotUri |
One answer
![]()
This code snipped will solve the above scenario:
import com.ibm.team.repository.common.Location; |