It's all about the answers!

Ask a question

Plug-in development help


Max Justice (233) | asked Sep 03 '15, 6:35 p.m.
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!

Accepted answer


permanent link
sam detweiler (12.5k6183201) | answered Sep 03 '15, 7:57 p.m.
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

Your answer


Register or to post your answer.