com.collabnet.ce.webservices
Class ScmApp
java.lang.Object
com.collabnet.ce.webservices.AbstractSoapApp
com.collabnet.ce.webservices.ScmApp
public class ScmApp
- extends AbstractSoapApp
Class to hold the scm-related methods.
Wraps a collabNetApp.
|
Method Summary |
com.collabnet.ce.soap50.webservices.scm.Repository2SoapDO |
getRepoData(java.lang.String repoId)
|
java.lang.String |
getRepoId(java.lang.String projectId,
java.lang.String repoName)
|
java.util.Collection<java.lang.String> |
getRepos(java.lang.String projectId)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScmApp
public ScmApp(CollabNetApp collabNetApp)
- Constructs a new ScmApp.
- Parameters:
collabNetApp - a valid (logged-in) instance.
getRepoId
public java.lang.String getRepoId(java.lang.String projectId,
java.lang.String repoName)
throws java.rmi.RemoteException
- Returns:
- the repoId for a given repo name and project.
- Throws:
java.rmi.RemoteException
getRepoData
public com.collabnet.ce.soap50.webservices.scm.Repository2SoapDO getRepoData(java.lang.String repoId)
throws java.rmi.RemoteException
- Returns:
- the repository data for the given repoId.
- Throws:
java.rmi.RemoteException
getRepos
public java.util.Collection<java.lang.String> getRepos(java.lang.String projectId)
throws java.rmi.RemoteException
- Returns:
- a collection of repo names for a project.
- Throws:
java.rmi.RemoteException
Copyright © 2010. All Rights Reserved.