Package hudson.scm.browsers
Class ViewCVS
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<CVSChangeLogSet.CVSChangeLog>
hudson.scm.CVSRepositoryBrowser
hudson.scm.browsers.ViewCVS
- All Implemented Interfaces:
ExtensionPoint
,Describable<RepositoryBrowser<?>>
,Serializable
RepositoryBrowser
for CVS.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetChangeSetLink
(CVSChangeLogSet.CVSChangeLog changeSet) No changeset support in ViewCVS.Determines the link to the diff between the version in theCVSChangeLogSet.File
to its previous version.Determines the link to a single file under CVS.Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Field Details
-
url
The URL of the top of the site. Normalized to ends with '/', likehttp://isscvs.cern.ch/cgi-bin/viewcvs-all.cgi/
It may contain a query parameter like?cvsroot=foobar
, so relative URL construction needs to be done with care.
-
-
Constructor Details
-
ViewCVS
- Throws:
MalformedURLException
-
-
Method Details
-
getFileLink
Description copied from class:CVSRepositoryBrowser
Determines the link to a single file under CVS. This page should display all the past revisions of this file, etc.- Specified by:
getFileLink
in classCVSRepositoryBrowser
- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
IOException
-
getDiffLink
Description copied from class:CVSRepositoryBrowser
Determines the link to the diff between the version in theCVSChangeLogSet.File
to its previous version.- Specified by:
getDiffLink
in classCVSRepositoryBrowser
- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
IOException
-
getChangeSetLink
No changeset support in ViewCVS.- Specified by:
getChangeSetLink
in classRepositoryBrowser<CVSChangeLogSet.CVSChangeLog>
- Throws:
IOException
-