hudson.scm
Class CVSRepositoryBrowser

java.lang.Object
  extended by hudson.scm.RepositoryBrowser<CVSChangeLogSet.CVSChangeLog>
      extended by hudson.scm.CVSRepositoryBrowser
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable
Direct Known Subclasses:
FishEyeCVS, ViewCVS

public abstract class CVSRepositoryBrowser
extends hudson.scm.RepositoryBrowser<CVSChangeLogSet.CVSChangeLog>

RepositoryBrowser for CVS.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
CVSRepositoryBrowser()
           
 
Method Summary
abstract  java.net.URL getDiffLink(CVSChangeLogSet.File file)
          Determines the link to the diff between the version in the CVSChangeLogSet.File to its previous version.
abstract  java.net.URL getFileLink(CVSChangeLogSet.File file)
          Determines the link to a single file under CVS.
 
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

CVSRepositoryBrowser

public CVSRepositoryBrowser()
Method Detail

getDiffLink

public abstract java.net.URL getDiffLink(CVSChangeLogSet.File file)
                                  throws java.io.IOException
Determines the link to the diff between the version in the CVSChangeLogSet.File 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(CVSChangeLogSet.File file)
                                  throws java.io.IOException
Determines the link to a single file under CVS. 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.