Package hudson.scm.browsers
Class ViewSVN
- All Implemented Interfaces:
ExtensionPoint
,Describable<RepositoryBrowser<?>>
,Serializable
RepositoryBrowser
for Subversion.- Since:
- 1.90
- 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
(SubversionChangeLogSet.LogEntry changeSet) Determines the link to the diff between the version in the specified revision ofSubversionChangeLogSet.Path
to its previous version.Determines the link to a single file under Subversion.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://svn.apache.org/viewvc/
It may contain a query parameter like?root=foobar
, so relative URL construction needs to be done with care.
-
-
Constructor Details
-
ViewSVN
- Throws:
MalformedURLException
-
-
Method Details
-
getDiffLink
Description copied from class:SubversionRepositoryBrowser
Determines the link to the diff between the version in the specified revision ofSubversionChangeLogSet.Path
to its previous version.- Specified by:
getDiffLink
in classSubversionRepositoryBrowser
- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
IOException
-
getFileLink
Description copied from class:SubversionRepositoryBrowser
Determines the link to a single file under Subversion. This page should display all the past revisions of this file, etc.- Specified by:
getFileLink
in classSubversionRepositoryBrowser
- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
IOException
-
getChangeSetLink
- Specified by:
getChangeSetLink
in classRepositoryBrowser<SubversionChangeLogSet.LogEntry>
- Throws:
IOException
-