hudson.scm.browsers
Class FishEyeCVS

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
      extended by hudson.scm.RepositoryBrowser<CVSChangeLogSet.CVSChangeLog>
          extended by hudson.scm.CVSRepositoryBrowser
              extended by hudson.scm.browsers.FishEyeCVS
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable

public final class FishEyeCVS
extends CVSRepositoryBrowser

Repository browser for CVS in a FishEye server.

See Also:
Serialized Form

Nested Class Summary
static class FishEyeCVS.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 URL url
          The URL of the FishEye repository, e.g.
 
Constructor Summary
FishEyeCVS(URL url)
           
 
Method Summary
 URL getChangeSetLink(CVSChangeLogSet.CVSChangeLog changeSet)
           
 URL getDiffLink(CVSChangeLogSet.File file)
          Determines the link to the diff between the version in the CVSChangeLogSet.File to its previous version.
 URL getFileLink(CVSChangeLogSet.File file)
          Determines the link to a single file under CVS.
 
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 URL url
The URL of the FishEye repository, e.g. http://deadlock.netbeans.org/fisheye/browse/netbeans/

Constructor Detail

FishEyeCVS

@DataBoundConstructor
public FishEyeCVS(URL url)
Method Detail

getDiffLink

public URL getDiffLink(CVSChangeLogSet.File file)
                throws IOException
Description copied from class: CVSRepositoryBrowser
Determines the link to the diff between the version in the CVSChangeLogSet.File to its previous version.

Specified by:
getDiffLink in class CVSRepositoryBrowser
Returns:
null if the browser doesn't have any URL for diff.
Throws:
IOException

getFileLink

public URL getFileLink(CVSChangeLogSet.File file)
                throws IOException
Description copied from class: CVSRepositoryBrowser
Determines the link to a single file under CVS. This page should display all the past revisions of this file, etc.

Specified by:
getFileLink in class CVSRepositoryBrowser
Returns:
null if the browser doesn't have any suitable URL.
Throws:
IOException

getChangeSetLink

public URL getChangeSetLink(CVSChangeLogSet.CVSChangeLog changeSet)
                     throws IOException
Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<CVSChangeLogSet.CVSChangeLog>
Throws:
IOException


Copyright © 2004-2011 Hudson. All Rights Reserved.