hudson.plugins.mercurial.browser
Class RhodeCodeLegacy

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
      extended by hudson.scm.RepositoryBrowser<MercurialChangeSet>
          extended by hudson.plugins.mercurial.browser.HgBrowser
              extended by hudson.plugins.mercurial.browser.RhodeCode
                  extended by hudson.plugins.mercurial.browser.RhodeCodeLegacy
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable

public class RhodeCodeLegacy
extends RhodeCode

Mercurial web interface served using a RhodeCode repository. There was a change to the anchors in the changeset page between release 1.1.8 and 1.2.0, causing the need for this class to provide compatibility with the older versions.

See Also:
Serialized Form

Nested Class Summary
static class RhodeCodeLegacy.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
RhodeCodeLegacy(String url)
           
 
Method Summary
 URL getDiffLink(String path)
          Returns a link to a diff for a file.
 
Methods inherited from class hudson.plugins.mercurial.browser.RhodeCode
getChangeSetLink, getFileLink
 
Methods inherited from class hudson.plugins.mercurial.browser.HgBrowser
getUrl, readResolve
 
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
 

Constructor Detail

RhodeCodeLegacy

@DataBoundConstructor
public RhodeCodeLegacy(String url)
                throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getDiffLink

public URL getDiffLink(String path)
                throws MalformedURLException
Returns a link to a diff for a file. Throws IllegalStateException when this method is called before at least one call to getChangeSetLink(MercurialChangeSet). Throws IllegalStateException when this method is called before at least one call to getChangeSetLink(MercurialChangeSet).

Overrides:
getDiffLink in class RhodeCode
Parameters:
path - to a file.
Returns:
URL pointing to a specific revision of the file.
Throws:
MalformedURLException


Copyright © 2004-2011. All Rights Reserved.