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! |
Accepted answer
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
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.