Package hudson.plugins.mercurial.browser
Class RhodeCodeLegacy
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<MercurialChangeSet>
hudson.plugins.mercurial.browser.HgBrowser
hudson.plugins.mercurial.browser.RhodeCode
hudson.plugins.mercurial.browser.RhodeCodeLegacy
- All Implemented Interfaces:
ExtensionPoint,Describable<RepositoryBrowser<?>>,Serializable
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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class hudson.plugins.mercurial.browser.HgBrowser
HgBrowser.HgBrowserDescriptorNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class hudson.plugins.mercurial.browser.RhodeCode
getChangeSetLink, getFileLinkMethods inherited from class hudson.plugins.mercurial.browser.HgBrowser
getUrl, readResolveMethods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlashMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
RhodeCodeLegacy
- Throws:
MalformedURLException
-
-
Method Details
-
getDiffLink
Returns a link to a diff for a file. ThrowsIllegalStateExceptionwhen this method is called before at least one call to getChangeSetLink(MercurialChangeSet). ThrowsIllegalStateExceptionwhen this method is called before at least one call to getChangeSetLink(MercurialChangeSet).- Overrides:
getDiffLinkin classRhodeCode- Parameters:
path- to a file.- Returns:
- URL pointing to a specific revision of the file.
- Throws:
MalformedURLException
-