hudson.plugins.websvn2
Class WebSVN2RepositoryBrowser

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

public class WebSVN2RepositoryBrowser
extends hudson.scm.SubversionRepositoryBrowser

SubversionRepositoryBrowser that produces links to http://www.websvn.info/ for SVN compatible with Version 2.3.1 of WebSVN.

Author:
Andreas Mandel, based on ViewVC plugin by Mike Salnikov, based on Polarion plug-in by Jonny Wray
See Also:
Serialized Form

Nested Class Summary
static class WebSVN2RepositoryBrowser.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 java.net.URL url
           
 
Constructor Summary
WebSVN2RepositoryBrowser(java.net.URL url)
           
 
Method Summary
 java.net.URL getChangeSetLink(hudson.scm.SubversionChangeLogSet.LogEntry changeSet)
           
 java.net.URL getDiffLink(hudson.scm.SubversionChangeLogSet.Path path)
           
 java.net.URL getFileLink(hudson.scm.SubversionChangeLogSet.Path path)
           
 java.lang.String getRepname()
           
 
Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
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
Constructor Detail

WebSVN2RepositoryBrowser

@DataBoundConstructor
public WebSVN2RepositoryBrowser(java.net.URL url)
                         throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException
Method Detail

getRepname

public java.lang.String getRepname()

getDiffLink

public java.net.URL getDiffLink(hudson.scm.SubversionChangeLogSet.Path path)
                         throws java.io.IOException
Specified by:
getDiffLink in class hudson.scm.SubversionRepositoryBrowser
Throws:
java.io.IOException

getFileLink

public java.net.URL getFileLink(hudson.scm.SubversionChangeLogSet.Path path)
                         throws java.io.IOException
Specified by:
getFileLink in class hudson.scm.SubversionRepositoryBrowser
Throws:
java.io.IOException

getChangeSetLink

public java.net.URL getChangeSetLink(hudson.scm.SubversionChangeLogSet.LogEntry changeSet)
                              throws java.io.IOException
Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<hudson.scm.SubversionChangeLogSet.LogEntry>
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.