hudson.plugins.bazaar.browsers
Class Loggerhead
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<BazaarChangeSet>
hudson.plugins.bazaar.BazaarRepositoryBrowser
hudson.plugins.bazaar.browsers.Loggerhead
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable
public class Loggerhead
- extends BazaarRepositoryBrowser
RepositoryBrowser for Loggerhead.
- Author:
- Alexandre Garnier
- 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
url
public final java.net.URL url
- The URL of the Loggerhead repository.
This is normally like http://bazaar.launchpad.net/~myteam/myproject/
Normalized to have '/' at the tail.
DESCRIPTOR
@Extension
public static final Loggerhead.DescriptorImpl DESCRIPTOR
Loggerhead
@DataBoundConstructor
public Loggerhead(java.net.URL url)
getChangeSetLink
public java.net.URL getChangeSetLink(BazaarChangeSet changeSet)
throws java.io.IOException
- Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<BazaarChangeSet>
- Throws:
java.io.IOException
getDiffLink
public java.net.URL getDiffLink(BazaarAffectedFile affectedFile)
throws java.io.IOException
- Description copied from class:
BazaarRepositoryBrowser
- Determines the link to the diff between the version
in the specified revision of
BazaarAffectedFile to its previous version.
- Specified by:
getDiffLink in class BazaarRepositoryBrowser
- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
java.io.IOException
getFileLink
public java.net.URL getFileLink(BazaarAffectedFile affectedFile)
throws java.io.IOException
- Description copied from class:
BazaarRepositoryBrowser
- Determines the link to a single file under Bazaar.
This page should display all the past revisions of this file, etc.
- Specified by:
getFileLink in class BazaarRepositoryBrowser
- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
java.io.IOException
getDescriptor
public hudson.model.Descriptor<hudson.scm.RepositoryBrowser<?>> getDescriptor()
- Specified by:
getDescriptor in interface hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>- Overrides:
getDescriptor in class hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
Copyright © 2011. All Rights Reserved.