hudson.scm
Class CVSRepositoryBrowser

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
      extended by hudson.scm.RepositoryBrowser<CVSChangeLogSet.CVSChangeLog>
          extended by hudson.scm.CVSRepositoryBrowser
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, 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  URL getDiffLink(CVSChangeLogSet.File file)
          Determines the link to the diff between the version in the CVSChangeLogSet.File to its previous version.
abstract  URL getFileLink(CVSChangeLogSet.File file)
          Determines the link to a single file under CVS.
 
Methods inherited from class hudson.scm.RepositoryBrowser
all, getChangeSetLink, 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
 

Constructor Detail

CVSRepositoryBrowser

public CVSRepositoryBrowser()
Method Detail

getDiffLink

public abstract URL getDiffLink(CVSChangeLogSet.File file)
                         throws 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:
IOException

getFileLink

public abstract URL getFileLink(CVSChangeLogSet.File file)
                         throws 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:
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.