Package hudson.plugins.mercurial.browser
Class ScmManager
java.lang.Object
hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<MercurialChangeSet>
hudson.plugins.mercurial.browser.HgBrowser
hudson.plugins.mercurial.browser.ScmManager
- All Implemented Interfaces:
ExtensionPoint,Describable<RepositoryBrowser<?>>,Serializable
Mercurial web interface served using a SCM-Manager repository.
- 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
Modifier and TypeMethodDescriptiongetChangeSetLink(MercurialChangeSet changeSet) getDiffLink(String path) Returns a link to a diff for a file.getFileLink(String path) Returns a link to a specific revision of a file.Methods 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
-
ScmManager
- Throws:
MalformedURLException
-
-
Method Details
-
getChangeSetLink
- Overrides:
getChangeSetLinkin classHgBrowser- Throws:
IOException
-
getFileLink
Returns a link to a specific revision of a file. ThrowsIllegalStateExceptionwhen this method is called before at least one call togetChangeSetLink(hudson.plugins.mercurial.MercurialChangeSet).- Overrides:
getFileLinkin classHgBrowser- Parameters:
path- to a file.- Returns:
- URL pointing to a specific revision of the file.
- Throws:
MalformedURLException
-
getDiffLink
Returns a link to a diff for a file. ThrowsIllegalStateExceptionwhen this method is called before at least one call togetChangeSetLink(hudson.plugins.mercurial.MercurialChangeSet).- Overrides:
getDiffLinkin classHgBrowser- Parameters:
path- to a file.- Returns:
- URL pointing to a specific revision of the file.
- Throws:
MalformedURLException
-