public class GoogleCode extends HgBrowser
Modifier and Type | Class and Description |
---|---|
static class |
GoogleCode.DescriptorImpl |
HgBrowser.HgBrowserDescriptor
ExtensionPoint.LegacyInstancesAreScopedToHudson
Constructor and Description |
---|
GoogleCode(String url) |
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.
|
getUrl, readResolve
all, normalizeToEndWithSlash, trimHeadSlash
getDescriptor
@DataBoundConstructor public GoogleCode(String url) throws MalformedURLException
MalformedURLException
public URL getChangeSetLink(MercurialChangeSet changeSet) throws IOException
getChangeSetLink
in class HgBrowser
IOException
public URL getFileLink(String path) throws MalformedURLException
IllegalStateException
when this method is called before at least one call
to getChangeSetLink(MercurialChangeSet).getFileLink
in class HgBrowser
path
- to a file.MalformedURLException
public URL getDiffLink(String path) throws MalformedURLException
IllegalStateException
when this method is called before at least one call
to getChangeSetLink(MercurialChangeSet).getDiffLink
in class HgBrowser
path
- to a file.MalformedURLException
Copyright © 2016–2022. All rights reserved.