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

Plug-in development help

Hi,

My teammate and I are developing a plug-in for RTC.  We can't figure out where and how to access streams in our repository (e.g. query the database for a select stream, snapshot, workspace).  What is the class that can help us with this?

Thanks!

1 vote


Accepted answer

Permanent link
In a server side plugin,  that is IScmService and its partners

import com.ibm.team.scm.common.IChangeSet;
import com.ibm.team.scm.common.IChangeSetHandle;
import com.ibm.team.scm.common.IComponent;
import com.ibm.team.scm.common.IComponentHandle;
import com.ibm.team.scm.common.IScmService;
import com.ibm.team.scm.common.IWorkspace;
import com.ibm.team.scm.common.internal.dto.HistoryProvider;
import com.ibm.team.scm.common.internal.dto.WorkspaceComponentPair;
import com.ibm.team.scm.common.process.IChangeHistoryAddOperandDelta;
import com.ibm.team.scm.common.process.IScmDeltaSource;

in a client app its

final IWorkspaceManager srcmgr = SCMPlatform.getWorkspaceManager(srcrepo);
and its friends, all of the *common" above

Max Justice selected this answer as the correct answer

0 votes

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,951

Question asked: Sep 03 '15, 6:35 p.m.

Question was seen: 1,653 times

Last updated: Sep 03 '15, 7:57 p.m.

Confirmation Cancel Confirm