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

get component names

hey does anybody now a way for my follow up plugin (server side) to obtain the name of the components which the changes are being delivered to

0 votes

Comments

Can you provide a code sample of what you have so far?



One answer

Permanent link
 A change set (IChangeSet) has a method, getComponent(), which returns the IComponentHandle for that change set.
You will need to resolve the handle into an IComponent where there is a getName() method. One way to resolve the handle is through IItemManger (available from the ITeamReposiotry) and calling getSharedItemIfKnown.

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
× 10,926

Question asked: Jul 31 '13, 8:44 a.m.

Question was seen: 6,422 times

Last updated: Aug 14 '13, 2:38 p.m.

Confirmation Cancel Confirm