Package hudson.scm.browsers
Class VisualSVN
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
-
- hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
-
- hudson.scm.SubversionRepositoryBrowser
-
- hudson.scm.browsers.VisualSVN
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<RepositoryBrowser<?>>
,Serializable
public class VisualSVN extends SubversionRepositoryBrowser
RepositoryBrowser
for Subversion. https://issues.jenkins-ci.org/browse/JENKINS-30176- Since:
- TODO
- Author:
- Arnost Havelka
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VisualSVN.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)
URL
getDiffLink(SubversionChangeLogSet.Path path)
Determines the link to the diff between the version in the specified revision ofSubversionChangeLogSet.Path
to its previous version.URL
getFileLink(SubversionChangeLogSet.Path path)
Determines the link to a single file under Subversion.String
getUrl()
Getter for URL property.-
Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
VisualSVN
@DataBoundConstructor public VisualSVN(String url) throws MalformedURLException
Creates a new VisualSVN object.- Parameters:
url
- base URL- Throws:
MalformedURLException
- when URL is not valid (empty)
-
-
Method Detail
-
getDiffLink
public URL getDiffLink(SubversionChangeLogSet.Path path) throws IOException
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
public URL getFileLink(SubversionChangeLogSet.Path path) throws IOException
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
public URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet) throws IOException
- Specified by:
getChangeSetLink
in classRepositoryBrowser<SubversionChangeLogSet.LogEntry>
- Throws:
IOException
-
getUrl
public String getUrl()
Getter for URL property.- Returns:
- URL value as
String
-
-