com.collabnet.ce.webservices
Class ScmApp

java.lang.Object
  extended by com.collabnet.ce.webservices.ScmApp

public class ScmApp
extends java.lang.Object

Class to hold the scm-related methods. Wraps a collabNetApp.


Constructor Summary
ScmApp(CollabNetApp collabNetApp)
          Constructs a new ScmApp.
 
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
 

Constructor Detail

ScmApp

public ScmApp(CollabNetApp collabNetApp)
Constructs a new ScmApp.

Parameters:
collabNetApp - a valid (logged-in) instance.
Method Detail

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 © 2009. All Rights Reserved.