hudson.scm
Class SubversionRepositoryBrowser

java.lang.Object
  extended by hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
      extended by hudson.scm.SubversionRepositoryBrowser
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable
Direct Known Subclasses:
AbstractSventon, CollabNetSVN, FishEyeSVN, ViewSVN, WebSVN

public abstract class SubversionRepositoryBrowser
extends hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>

RepositoryBrowser for Subversion.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
SubversionRepositoryBrowser()
           
 
Method Summary
abstract  java.net.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.
abstract  java.net.URL getFileLink(SubversionChangeLogSet.Path path)
          Determines the link to a single file under Subversion.
 
Methods inherited from class hudson.scm.RepositoryBrowser
all, getChangeSetLink, getDescriptor, normalizeToEndWithSlash, trimHeadSlash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubversionRepositoryBrowser

public SubversionRepositoryBrowser()
Method Detail

getDiffLink

public abstract java.net.URL getDiffLink(SubversionChangeLogSet.Path path)
                                  throws java.io.IOException
Determines the link to the diff between the version in the specified revision of SubversionChangeLogSet.Path to its previous version.

Returns:
null if the browser doesn't have any URL for diff.
Throws:
java.io.IOException

getFileLink

public abstract java.net.URL getFileLink(SubversionChangeLogSet.Path path)
                                  throws java.io.IOException
Determines the link to a single file under Subversion. This page should display all the past revisions of this file, etc.

Returns:
null if the browser doesn't have any suitable URL.
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.