It's all about the answers!

Ask a question

Version ID with Java API


Carmelo Merino (831212) | asked Apr 14 '15, 8:03 a.m.
  Hi,

  is there a way to find out the version id of a file using the java API?

  Thanks

One answer



permanent link
Surya Tripathi (65017) | answered Apr 14 '15, 8:38 p.m.
You can try calling this API -

public IVersionableIdentifier[] getVersionableIdentifiers(IVersionableHandle[] versionableStates, IProgressMonitor monitor) throws TeamRepositoryException;

Comments
Surya Tripathi commented Apr 14 '15, 8:39 p.m.

It is available in com.ibm.team.scm.client.IWorkspaceManager

Your answer


Register or to post your answer.