hudson.plugins.mercurial.browser
Class FishEye
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<MercurialChangeSet>
hudson.plugins.mercurial.browser.HgBrowser
hudson.plugins.mercurial.browser.FishEye
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable
public class FishEye
- extends HgBrowser
Mercurial web interface served using FishEye.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| Methods inherited from class hudson.scm.RepositoryBrowser |
all, normalizeToEndWithSlash, trimHeadSlash |
| Methods inherited from class hudson.model.AbstractDescribableImpl |
getDescriptor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FishEye
@DataBoundConstructor
public FishEye(String url)
throws MalformedURLException
- Throws:
MalformedURLException
getChangeSetLink
public URL getChangeSetLink(MercurialChangeSet changeSet)
throws IOException
-
- Overrides:
getChangeSetLink in class HgBrowser
- Throws:
IOException
getFileLink
public URL getFileLink(String path)
throws MalformedURLException
- Returns a link to a specific revision of a file.
Throws
IllegalStateException when this method is called before at least one call
to getChangeSetLink(MercurialChangeSet).
- Overrides:
getFileLink in class HgBrowser
- Parameters:
path - to a file.
- Returns:
- URL pointing to a specific revision of the file.
- Throws:
MalformedURLException
getDiffLink
public URL getDiffLink(String path)
throws MalformedURLException
- Returns a link to a diff for a file.
Throws
IllegalStateException when this method is called before at least one call
to getChangeSetLink(MercurialChangeSet).
- Overrides:
getDiffLink in class HgBrowser
- Parameters:
path - to a file.
- Returns:
- URL pointing to a specific revision of the file.
- Throws:
MalformedURLException
Copyright © 2004-2011. All Rights Reserved.