WebRepositoryIntegrationpublic class ChoraIntegration extends java.lang.Object implements WebRepositoryIntegration
| Constructor | Description |
|---|---|
ChoraIntegration(java.lang.String baseURL) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getBaseUrl() |
|
java.lang.String |
getDiffUrl(Revision oldRevision,
Revision newRevision) |
Returns a URL to a diff in the web repository browser.
|
java.lang.String |
getDirectoryUrl(Directory directory) |
Returns a URL to a directory in the web repository browser
|
java.lang.String |
getFileHistoryUrl(VersionedFile file) |
Returns a URL to a file in the web repository browser.
|
java.lang.String |
getFileViewUrl(Revision revision) |
Returns a URL to a file in the web repository browser.
|
java.lang.String |
getFileViewUrl(VersionedFile file) |
Returns a URL to a file in the web repository browser.
|
java.lang.String |
getName() |
Returns the name of the repository browser
|
void |
setAtticFileNames(java.util.Set atticFileNames) |
Sets the files that are "in the attic", in the CVS sense.
|
public ChoraIntegration(java.lang.String baseURL)
baseURL - base URL of the Chora installationpublic java.lang.String getName()
WebRepositoryIntegrationgetName in interface WebRepositoryIntegrationWebRepositoryIntegration.getName()public java.lang.String getDirectoryUrl(Directory directory)
WebRepositoryIntegrationgetDirectoryUrl in interface WebRepositoryIntegrationdirectory - the directoryWebRepositoryIntegration.getDirectoryUrl(net.sf.statcvs.model.Directory)public java.lang.String getFileHistoryUrl(VersionedFile file)
WebRepositoryIntegrationgetFileHistoryUrl in interface WebRepositoryIntegrationfile - the fileWebRepositoryIntegration.getFileHistoryUrl(net.sf.statcvs.model.VersionedFile)public java.lang.String getFileViewUrl(VersionedFile file)
WebRepositoryIntegrationgetFileViewUrl in interface WebRepositoryIntegrationfile - the fileWebRepositoryIntegration.getFileViewUrl(VersionedFile)public java.lang.String getFileViewUrl(Revision revision)
WebRepositoryIntegrationgetFileViewUrl in interface WebRepositoryIntegrationrevision - the revisionWebRepositoryIntegration.getFileViewUrl(VersionedFile)public java.lang.String getDiffUrl(Revision oldRevision, Revision newRevision)
WebRepositoryIntegrationgetDiffUrl in interface WebRepositoryIntegrationoldRevision - the old revisionnewRevision - the new revisionWebRepositoryIntegration.getDiffUrl(net.sf.statcvs.model.Revision, net.sf.statcvs.model.Revision)public void setAtticFileNames(java.util.Set atticFileNames)
WebRepositoryIntegrationsetAtticFileNames in interface WebRepositoryIntegrationatticFileNames - names of all files (String) in the atticWebRepositoryIntegration.setAtticFileNames(java.util.Set)public java.lang.String getBaseUrl()
getBaseUrl in interface WebRepositoryIntegration