public class CollabNetSVN extends SubversionRepositoryBrowser
RepositoryBrowser implementation for CollabNet hosted Subversion repositories.
This enables Hudson to integrate with the repository browsers built-in to CollabNet-powered
sites such as Java.net and Tigris.org.| Modifier and Type | Class and Description |
|---|---|
static class |
CollabNetSVN.DescriptorImpl |
| Constructor and Description |
|---|
CollabNetSVN(URL url) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet) |
URL |
getDiffLink(SubversionChangeLogSet.Path path)
Determines the link to the diff between the version
in the specified revision of
SubversionChangeLogSet.Path to its previous version. |
URL |
getFileLink(SubversionChangeLogSet.Path path)
Determines the link to a single file under Subversion.
|
public final URL url
@DataBoundConstructor public CollabNetSVN(URL url)
url - The repository browser URL for the root of the project.
For example, a Java.net project called "myproject" would use
https://myproject.dev.java.net/source/browse/myprojectpublic URL getDiffLink(SubversionChangeLogSet.Path path) throws IOException
SubversionChangeLogSet.Path to its previous version.getDiffLink in class SubversionRepositoryBrowserIOExceptionpublic URL getFileLink(SubversionChangeLogSet.Path path) throws IOException
getFileLink in class SubversionRepositoryBrowserIOExceptionpublic URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet) throws IOException
getChangeSetLink in class hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>IOExceptionCopyright © 2004–2015. All rights reserved.