Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to translate IFolderHandle into IFolder

 So far I have known how to extract change set from IWorkItem according to link below:

Now I can retrieve IFileItem object and know the name of file in changeset. This object provides API getParent() which return an object IFolderHandle which I guess might related to the parent folder of that file and I know there is a class called IFolder which may related to this handler. 

My question is how I translate object of "IFolderHandler" into object of "IFolder"? 

So I can know the parent folder name of file in change set.

Many thanks!

0 votes



One answer

Permanent link
I think https://rsjazz.wordpress.com/2013/10/15/extracting-an-archive-into-jazz-scm-using-the-plain-java-client-libraries/ shows this in getVersionable(). In any case you have to always resolve handles to the full object. How this is done depends on the part of the API you are working in.

1 vote

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 169
× 113

Question asked: Jun 21 '16, 3:09 a.m.

Question was seen: 2,183 times

Last updated: Jun 21 '16, 9:17 a.m.

Confirmation Cancel Confirm