Class TracIntegration
java.lang.Object
net.sf.statcvs.output.TracIntegration
- All Implemented Interfaces:
WebRepositoryIntegration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDiffUrl(Revision oldRevision, Revision newRevision) Returns a URL to a diff in the web repository browser.getDirectoryUrl(Directory directory) Returns a URL to a directory in the web repository browserReturns a URL to a file in the web repository browser.getFileViewUrl(Revision revision) Returns a URL to a file in the web repository browser.getFileViewUrl(VersionedFile file) Returns a URL to a file in the web repository browser.getName()Returns the name of the repository browservoidsetAtticFileNames(Set atticFileNames) Sets the files that are "in the attic", in the CVS sense.
-
Constructor Details
-
TracIntegration
-
-
Method Details
-
getName
Description copied from interface:WebRepositoryIntegrationReturns the name of the repository browser- Specified by:
getNamein interfaceWebRepositoryIntegration- Returns:
- the name of the repository browser
-
getDirectoryUrl
Description copied from interface:WebRepositoryIntegrationReturns a URL to a directory in the web repository browser- Specified by:
getDirectoryUrlin interfaceWebRepositoryIntegration- Parameters:
directory- the directory- Returns:
- a URL to the directory in the web repository browser
-
getFileHistoryUrl
Description copied from interface:WebRepositoryIntegrationReturns a URL to a file in the web repository browser. The URL points to a history of all revisions of the file.- Specified by:
getFileHistoryUrlin interfaceWebRepositoryIntegration- Parameters:
file- the file- Returns:
- a URL to the file in the web repository browser
-
getFileViewUrl
Description copied from interface:WebRepositoryIntegrationReturns a URL to a file in the web repository browser. The URL points to a representation of the specific revision given as a parameter.- Specified by:
getFileViewUrlin interfaceWebRepositoryIntegration- Parameters:
revision- the revision- Returns:
- a URL to the revision in the web repository browser
-
getBaseUrl
- Specified by:
getBaseUrlin interfaceWebRepositoryIntegration- Returns:
- the base Url
-
getDiffUrl
Description copied from interface:WebRepositoryIntegrationReturns a URL to a diff in the web repository browser. Both revisions must belong to the same VersionedFile.- Specified by:
getDiffUrlin interfaceWebRepositoryIntegration- Parameters:
oldRevision- the old revisionnewRevision- the new revision- Returns:
- a URL to a diff
-
getFileViewUrl
Description copied from interface:WebRepositoryIntegrationReturns a URL to a file in the web repository browser. The URL points to a representation of the file's current contents.- Specified by:
getFileViewUrlin interfaceWebRepositoryIntegration- Parameters:
file- the file- Returns:
- a URL to the file in the web repository browser
-
setAtticFileNames
Description copied from interface:WebRepositoryIntegrationSets the files that are "in the attic", in the CVS sense. See CVS manual.- Specified by:
setAtticFileNamesin interfaceWebRepositoryIntegration- Parameters:
atticFileNames- names of all files (String) in the attic
-