hudson.plugins.viewVC
Class ViewVCRepositoryBrowser

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

public class ViewVCRepositoryBrowser
extends hudson.scm.SubversionRepositoryBrowser

SubversionRepositoryBrowser that produces links to the ViewVC Web Client for SVN

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

Nested Class Summary
static class ViewVCRepositoryBrowser.DescriptorImpl
           
 
Field Summary
static ViewVCRepositoryBrowser.DescriptorImpl DESCRIPTOR
           
 java.net.URL url
           
 
Constructor Summary
ViewVCRepositoryBrowser(java.net.URL url, java.lang.String location)
           
 
Method Summary
 java.net.URL getChangeSetLink(hudson.scm.SubversionChangeLogSet.LogEntry changeSet)
           
 ViewVCRepositoryBrowser.DescriptorImpl getDescriptor()
           
 java.net.URL getDiffLink(hudson.scm.SubversionChangeLogSet.Path path)
           
 java.net.URL getFileLink(hudson.scm.SubversionChangeLogSet.Path path)
           
 java.lang.String getLocation()
           
 
Methods inherited from class hudson.scm.RepositoryBrowser
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

DESCRIPTOR

public static final ViewVCRepositoryBrowser.DescriptorImpl DESCRIPTOR
Constructor Detail

ViewVCRepositoryBrowser

@DataBoundConstructor
public ViewVCRepositoryBrowser(java.net.URL url,
                                                    java.lang.String location)
                        throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException
Method Detail

getLocation

public java.lang.String getLocation()

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

getDescriptor

public ViewVCRepositoryBrowser.DescriptorImpl getDescriptor()


Copyright © 2008. All Rights Reserved.