hudson.scm.browsers
Class ViewCVS
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<CVSChangeLogSet.CVSChangeLog>
hudson.scm.CVSRepositoryBrowser
hudson.scm.browsers.ViewCVS
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable
public final class ViewCVS
- extends CVSRepositoryBrowser
RepositoryBrowser for CVS.
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Field Summary |
URL |
url
The URL of the top of the site. |
| Methods inherited from class hudson.scm.RepositoryBrowser |
all, normalizeToEndWithSlash, trimHeadSlash |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
public final URL url
- The URL of the top of the site.
Normalized to ends with '/', like http://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.
ViewCVS
@DataBoundConstructor
public ViewCVS(URL url)
throws MalformedURLException
- Throws:
MalformedURLException
getFileLink
public URL getFileLink(CVSChangeLogSet.File file)
throws IOException
- 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 class CVSRepositoryBrowser
- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
IOException
getDiffLink
public URL getDiffLink(CVSChangeLogSet.File file)
throws IOException
- Description copied from class:
CVSRepositoryBrowser
- Determines the link to the diff between the version
in the
CVSChangeLogSet.File to its previous version.
- Specified by:
getDiffLink in class CVSRepositoryBrowser
- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
IOException
getChangeSetLink
public URL getChangeSetLink(CVSChangeLogSet.CVSChangeLog changeSet)
throws IOException
- No changeset support in ViewCVS.
- Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<CVSChangeLogSet.CVSChangeLog>
- Throws:
IOException
Copyright © 2004-2011 Hudson. All Rights Reserved.