hudson.scm.browsers
Class WebSVN

java.lang.Object
  extended by hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
      extended by hudson.scm.SubversionRepositoryBrowser
          extended by hudson.scm.browsers.WebSVN
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable

public class WebSVN
extends SubversionRepositoryBrowser

RepositoryBrowser for Subversion. Assumes that WebSVN is configured with Multiviews enabled.

Since:
1.139
Author:
jasonchaffee at dev.java.net
See Also:
Serialized Form

Nested Class Summary
static class WebSVN.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 java.net.URL url
          The URL of the top of the site.
 
Constructor Summary
WebSVN(java.net.URL url)
          Creates a new WebSVN object.
 
Method Summary
 java.net.URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet)
          Returns the change set link value.
 java.net.URL getDiffLink(SubversionChangeLogSet.Path path)
          Returns the diff link value.
 java.net.URL getFileLink(SubversionChangeLogSet.Path path)
          Returns the file link value.
 
Methods inherited from class hudson.scm.RepositoryBrowser
all, getDescriptor, normalizeToEndWithSlash, trimHeadSlash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

public final java.net.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

WebSVN

@DataBoundConstructor
public WebSVN(java.net.URL url)
       throws java.net.MalformedURLException
Creates a new WebSVN object.

Parameters:
url - DOCUMENT ME!
Throws:
java.net.MalformedURLException - DOCUMENT ME!
Method Detail

getDiffLink

public java.net.URL getDiffLink(SubversionChangeLogSet.Path path)
                         throws java.io.IOException
Returns the diff link value.

Specified by:
getDiffLink in class SubversionRepositoryBrowser
Parameters:
path - the given path value.
Returns:
the diff link value.
Throws:
java.io.IOException - DOCUMENT ME!

getFileLink

public java.net.URL getFileLink(SubversionChangeLogSet.Path path)
                         throws java.io.IOException
Returns the file link value.

Specified by:
getFileLink in class SubversionRepositoryBrowser
Parameters:
path - the given path value.
Returns:
the file link value.
Throws:
java.io.IOException - DOCUMENT ME!

getChangeSetLink

public java.net.URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet)
                              throws java.io.IOException
Returns the change set link value.

Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
Parameters:
changeSet - the given changeSet value.
Returns:
the change set link value.
Throws:
java.io.IOException - DOCUMENT ME!


Copyright © 2010. All Rights Reserved.