Package hudson.plugins.mercurial.browser
Class HgBrowser
- All Implemented Interfaces:
ExtensionPoint,Describable<RepositoryBrowser<?>>,Serializable
- Direct Known Subclasses:
FishEye,GoogleCode,HgWeb,KilnHG,RhodeCode,ScmManager
Parent class, as there is more than one browser.
readResolve() will return the old default HgWeb.
Direct calls on this class will always throw UnsupportedOperationExceptions.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
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.getUrl()Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlashMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Method Details
-
getChangeSetLink
- Specified by:
getChangeSetLinkin classRepositoryBrowser<MercurialChangeSet>- Throws:
IOException
-
getFileLink
Returns a link to a specific revision of a file.- 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.- Parameters:
path- to a file.- Returns:
- URL pointing to a specific revision of the file.
- Throws:
MalformedURLException
-
getUrl
-
readResolve
-