net.sf.statcvs.output
Interface WebRepositoryIntegration
- ChoraIntegration, CvswebIntegration, JCVSWebIntegration, TracIntegration, ViewCvsIntegration, ViewVcIntegration
public interface WebRepositoryIntegration
Interface for integration of web repository browsers. Web repository
browsers are dynamic web sites where you can browse the contents of
a CVS repository, make diffs etc. A good example is
ViewCVS.
$Id: WebRepositoryIntegration.java,v 1.7 2008/04/02 11:22:15 benoitx Exp $
getBaseUrl
public String getBaseUrl()
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.
oldRevision
- the old revisionnewRevision
- the new revision
getDirectoryUrl
public String getDirectoryUrl(Directory directory)
Returns a URL to a directory in the web repository browser
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.
- 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.
- 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.
- a URL to the file in the web repository browser
getName
public String getName()
Returns the name of the repository browser
- the name of the repository browser
setAtticFileNames
public void setAtticFileNames(Set atticFileNames)
Sets the files that are "in the attic", in the CVS sense. See
CVS manual.
atticFileNames
- names of all files (String) in the attic