Package hudson.scm.browsers
Class SVNWeb
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<RepositoryBrowser<?>>
,Serializable
public final class SVNWeb extends SubversionRepositoryBrowser
SVN::WebRepositoryBrowser
for Subversion.- Since:
- 1.x
- Author:
- martin.scholl at cismet.de
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SVNWeb.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet)
Returns the change set link value.URL
getDiffLink(SubversionChangeLogSet.Path path)
Returns the diff link value.URL
getFileLink(SubversionChangeLogSet.Path path)
Returns the file link value.-
Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Field Detail
-
url
public final URL url
The URL of the top of the site.Normalized to ends with '/', like
http://svn.apache.org/wsvn/
It may contain a query parameter like?root=foobar
, so relative URL construction needs to be done with care.
-
-
Constructor Detail
-
SVNWeb
@DataBoundConstructor public SVNWeb(URL url) throws MalformedURLException
Creates a new SVNWeb object.- Parameters:
url
- DOCUMENT ME!- Throws:
MalformedURLException
- DOCUMENT ME!
-
-
Method Detail
-
getDiffLink
public URL getDiffLink(SubversionChangeLogSet.Path path) throws IOException
Returns the diff link value.- Specified by:
getDiffLink
in classSubversionRepositoryBrowser
- Parameters:
path
- the given path value.- Returns:
- the diff link value.
- Throws:
IOException
- DOCUMENT ME!
-
getFileLink
public URL getFileLink(SubversionChangeLogSet.Path path) throws IOException
Returns the file link value.- Specified by:
getFileLink
in classSubversionRepositoryBrowser
- Parameters:
path
- the given path value.- Returns:
- the file link value.
- Throws:
IOException
- DOCUMENT ME!
-
getChangeSetLink
public URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet) throws IOException
Returns the change set link value.- Specified by:
getChangeSetLink
in classRepositoryBrowser<SubversionChangeLogSet.LogEntry>
- Parameters:
changeSet
- the given changeSet value.- Returns:
- the change set link value.
- Throws:
IOException
- DOCUMENT ME!
-
-