org.jenkinsci.plugins.darcs.browsers
Class Darcsden

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

public final class Darcsden
extends DarcsRepositoryBrowser

Author:
Sven Strittmatter
See Also:
Serialized Form

Nested Class Summary
static class Darcsden.DescriptorImpl
          Darcsden repository browser description.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 URL url
           
 
Constructor Summary
Darcsden(URL url)
           
 
Method Summary
 URL getChangeSetLink(DarcsChangeSet changeSet)
           
 URL getFileDiffLink(DarcsChangeSet changeSet, String file)
          Determines the link to a single file under Perforce.
 
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
Constructor Detail

Darcsden

@DataBoundConstructor
public Darcsden(URL url)
         throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getChangeSetLink

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

getFileDiffLink

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

Specified by:
getFileDiffLink in class DarcsRepositoryBrowser
Returns:
null if the browser doesn't have any suitable URL
Throws:
IOException


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