net.sf.statcvs.output
public class ChoraIntegration extends java.lang.Object implements WebRepositoryIntegration
Constructor and Description |
---|
ChoraIntegration(java.lang.String baseURL) |
Modifier and Type | Method and 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()
WebRepositoryIntegration
getName
in interface WebRepositoryIntegration
WebRepositoryIntegration.getName()
public java.lang.String getDirectoryUrl(Directory directory)
WebRepositoryIntegration
getDirectoryUrl
in interface WebRepositoryIntegration
directory
- the directoryWebRepositoryIntegration.getDirectoryUrl(net.sf.statcvs.model.Directory)
public java.lang.String getFileHistoryUrl(VersionedFile file)
WebRepositoryIntegration
getFileHistoryUrl
in interface WebRepositoryIntegration
file
- the fileWebRepositoryIntegration.getFileHistoryUrl(net.sf.statcvs.model.VersionedFile)
public java.lang.String getFileViewUrl(VersionedFile file)
WebRepositoryIntegration
getFileViewUrl
in interface WebRepositoryIntegration
file
- the fileWebRepositoryIntegration.getFileViewUrl(VersionedFile)
public java.lang.String getFileViewUrl(Revision revision)
WebRepositoryIntegration
getFileViewUrl
in interface WebRepositoryIntegration
revision
- the revisionWebRepositoryIntegration.getFileViewUrl(VersionedFile)
public java.lang.String getDiffUrl(Revision oldRevision, Revision newRevision)
WebRepositoryIntegration
getDiffUrl
in interface WebRepositoryIntegration
oldRevision
- the old revisionnewRevision
- the new revisionWebRepositoryIntegration.getDiffUrl(net.sf.statcvs.model.Revision, net.sf.statcvs.model.Revision)
public void setAtticFileNames(java.util.Set atticFileNames)
WebRepositoryIntegration
setAtticFileNames
in interface WebRepositoryIntegration
atticFileNames
- names of all files (String) in the atticWebRepositoryIntegration.setAtticFileNames(java.util.Set)
public java.lang.String getBaseUrl()
getBaseUrl
in interface WebRepositoryIntegration