Package net.sf.statcvs.output
Class ViewVcIntegration
java.lang.Object
net.sf.statcvs.output.ViewCvsIntegration
net.sf.statcvs.output.ViewVcIntegration
- All Implemented Interfaces:
WebRepositoryIntegration
Integration of ViewVC
- Version:
- $Id: ViewVcIntegration.java,v 1.4 2009/06/02 13:27:20 benoitx Exp $
- Author:
- Richard Cyganiak, Jason Kealey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDiffUrl(Revision oldRevision, Revision newRevision) Returns a URL to a diff in the web repository browser.protected StringgetFileUrl(VersionedFile file, String parameter) getName()Returns the name of the repository browserMethods inherited from class net.sf.statcvs.output.ViewCvsIntegration
getBaseUrl, getDirectoryUrl, getFileHistoryUrl, getFileViewUrl, getFileViewUrl, getPostfix, isInAttic, setAtticFileNames
-
Constructor Details
-
ViewVcIntegration
- Parameters:
baseURL- base URL of the ViewVC installation
-
-
Method Details
-
getName
Description copied from interface:WebRepositoryIntegrationReturns the name of the repository browser- Specified by:
getNamein interfaceWebRepositoryIntegration- Overrides:
getNamein classViewCvsIntegration- Returns:
- the name of the repository browser
- See Also:
-
getFileUrl
- Overrides:
getFileUrlin classViewCvsIntegration
-
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- Overrides:
getDiffUrlin classViewCvsIntegration- Parameters:
oldRevision- the old revisionnewRevision- the new revision- Returns:
- a URL to a diff
- See Also:
-