IServerSideVersionedContentService
![]() 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
![]()
Ralph Schoon (62.7k●3●36●43)
| 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
![]()
Ralph Schoon (62.7k●3●36●43)
| 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. |