Package com.collabnet.ce.webservices
Class CTFScmRepository
- java.lang.Object
-
- com.collabnet.ce.webservices.CTFFolder
-
- com.collabnet.ce.webservices.CTFScmRepository
-
- All Implemented Interfaces:
ObjectWithTitle
public class CTFScmRepository extends CTFFolder
A SCM repository.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
Fields Modifier and Type Field Description protected CollabNetApp
app
boolean
idRequiredOnCommit
boolean
isOnManagedScmServer
String
repositoryDirectory
String
scmAdapterName
String
scmViewerUrl
String
systemId
String
systemTitle
-
Constructor Summary
Constructors Constructor Description CTFScmRepository(CTFProject parent, org.json.simple.JSONObject data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <T extends ObjectWithTitle>
TfindByTitle(List<T> list, String title)
Convenience method for a subtype to find an item in a collection by its title.boolean
getIdRequiredOnCommit()
boolean
getIsOnManagedScmServer()
String
getRepositoryDirectory()
String
getScmAdapterName()
String
getScmViewerUrl()
String
getSystemId()
String
getSystemTitle()
-
Methods inherited from class com.collabnet.ce.webservices.CTFFolder
getDescription, getId, getParentFolderId, getPath, getProject, getTitle
-
-
-
-
Field Detail
-
systemId
public String systemId
-
systemTitle
public String systemTitle
-
repositoryDirectory
public String repositoryDirectory
-
scmViewerUrl
public String scmViewerUrl
-
scmAdapterName
public String scmAdapterName
-
idRequiredOnCommit
public boolean idRequiredOnCommit
-
isOnManagedScmServer
public boolean isOnManagedScmServer
-
app
protected final CollabNetApp app
-
-
Constructor Detail
-
CTFScmRepository
public CTFScmRepository(CTFProject parent, org.json.simple.JSONObject data)
-
-
Method Detail
-
getSystemId
public String getSystemId() throws IOException
- Throws:
IOException
-
getSystemTitle
public String getSystemTitle() throws IOException
- Throws:
IOException
-
getRepositoryDirectory
public String getRepositoryDirectory() throws IOException
- Throws:
IOException
-
getScmViewerUrl
public String getScmViewerUrl() throws IOException
- Throws:
IOException
-
getScmAdapterName
public String getScmAdapterName() throws IOException
- Throws:
IOException
-
getIdRequiredOnCommit
public boolean getIdRequiredOnCommit() throws IOException
- Throws:
IOException
-
getIsOnManagedScmServer
public boolean getIsOnManagedScmServer() throws IOException
- Throws:
IOException
-
findByTitle
protected <T extends ObjectWithTitle> T findByTitle(List<T> list, String title)
Convenience method for a subtype to find an item in a collection by its title.
-
-