public abstract class HgBrowser extends RepositoryBrowser<MercurialChangeSet>
readResolve()
will return the old default HgWeb
.
Direct calls on this class will always throw UnsupportedOperationException
s.Modifier and Type | Class and Description |
---|---|
protected static class |
HgBrowser.HgBrowserDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Method and Description |
---|---|
URL |
getChangeSetLink(MercurialChangeSet changeset) |
URL |
getDiffLink(String path)
Returns a link to a diff for a file.
|
URL |
getFileLink(String path)
Returns a link to a specific revision of a file.
|
URL |
getUrl() |
Object |
readResolve() |
all, normalizeToEndWithSlash, trimHeadSlash
getDescriptor
public URL getChangeSetLink(MercurialChangeSet changeset) throws IOException
getChangeSetLink
in class RepositoryBrowser<MercurialChangeSet>
IOException
public URL getFileLink(String path) throws MalformedURLException
path
- to a file.MalformedURLException
public URL getDiffLink(String path) throws MalformedURLException
path
- to a file.MalformedURLException
public URL getUrl()
public Object readResolve()
Copyright © 2016–2022. All rights reserved.