It's all about the answers!

Ask a question

IServerSideVersionedContentService


Álvaro Alonso (35127) | asked Nov 27 '19, 4:57 a.m.
edited Nov 27 '19, 5:21 a.m.

 Hello, i need to get the IServerSideVersionedContentServiceon using an operation participant.

I need it to get the content of the changed files
 

How can i do it?


Thanks

Accepted answer


permanent link
Ralph Schoon (63.2k33646) | answered Nov 27 '19, 9:11 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Like any other service you get the IServerSideVersionedContentServiceusing using


IServerSideVersionedContentService contentSvc = getService(IServerSideVersionedContentService.class);

getService is inherited from AbstractService or AbstractSCMService.
Ralph Schoon selected this answer as the correct answer

One other answer



permanent link
Ralph Schoon (63.2k33646) | answered Nov 27 '19, 5:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Nov 27 '19, 5:28 a.m.

 No, you don't and no, you can't. As far as I can tell, com.ibm.team.repository.client.ITeamRepository is a client API that is not available in the server. Completely changing your question is not a good practice, you could comment on your question. 

Your answer


Register or 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.