net.sf.statcvs.output
Class JCVSWebIntegration
- WebRepositoryIntegration
public class JCVSWebIntegration
Creates links to a
JCVSWeb repository browser.
$Id: JCVSWebIntegration.java,v 1.3 2008/04/02 11:22:15 benoitx Exp $
JCVSWebIntegration
public JCVSWebIntegration(String baseURL)
getDiffUrl
public String getDiffUrl(Revision oldRevision,
Revision newRevision)
Returns a URL to a diff in the web repository browser. Both revisions
must belong to the same VersionedFile.
- getDiffUrl in interface WebRepositoryIntegration
oldRevision
- the old revisionnewRevision
- the new revision
getDirectoryUrl
public String getDirectoryUrl(Directory directory)
Returns a URL to a directory in the web repository browser
- getDirectoryUrl in interface WebRepositoryIntegration
directory
- the directory
- a URL to the directory in the web repository browser
getFileHistoryUrl
public String getFileHistoryUrl(VersionedFile file)
Returns a URL to a file in the web repository browser. The
URL points to a history of all revisions of the file.
- getFileHistoryUrl in interface WebRepositoryIntegration
- a URL to the file in the web repository browser
getFileViewUrl
public String getFileViewUrl(Revision revision)
Returns a URL to a file in the web repository browser. The
URL points to a representation of the specific revision given
as a parameter.
- getFileViewUrl in interface WebRepositoryIntegration
- a URL to the revision in the web repository browser
getFileViewUrl
public String getFileViewUrl(VersionedFile file)
Returns a URL to a file in the web repository browser. The
URL points to a representation of the file's current contents.
- getFileViewUrl in interface WebRepositoryIntegration
- a URL to the file in the web repository browser