org.jenkinsci.plugins.darcs.browsers
Class DarcsRepositoryBrowser

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
      extended by hudson.scm.RepositoryBrowser<DarcsChangeSet>
          extended by org.jenkinsci.plugins.darcs.browsers.DarcsRepositoryBrowser
All Implemented Interfaces:
ExtensionPoint, Describable<RepositoryBrowser<?>>, Serializable
Direct Known Subclasses:
Darcsden, DarcsWeb

public abstract class DarcsRepositoryBrowser
extends RepositoryBrowser<DarcsChangeSet>

Abstract implementation for Darcs repository browsers.

Author:
Sven Strittmatter
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
private static long serialVersionUID
          Serial version UID.
 
Constructor Summary
DarcsRepositoryBrowser()
           
 
Method Summary
abstract  URL getFileDiffLink(DarcsChangeSet changeSet, String file)
          Determines the link to a single file under Perforce.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serial version UID.

See Also:
Constant Field Values
Constructor Detail

DarcsRepositoryBrowser

public DarcsRepositoryBrowser()
Method Detail

getFileDiffLink

public abstract URL getFileDiffLink(DarcsChangeSet changeSet,
                                    String file)
                             throws IOException
Determines the link to a single file under Perforce. This page should display all the past revisions of this file, etc.

Parameters:
changeSet -
file -
Returns:
null if the browser doesn't have any suitable URL
Throws:
IOException


Copyright © 2004-2013 weltraumschaf.de. All Rights Reserved.