hudson.plugins.mercurial.browser
Class HgBrowser

java.lang.Object
  extended by hudson.scm.RepositoryBrowser<MercurialChangeSet>
      extended by hudson.plugins.mercurial.browser.HgBrowser
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable
Direct Known Subclasses:
BitBucket, GoogleCode, HgWeb

public class HgBrowser
extends hudson.scm.RepositoryBrowser<MercurialChangeSet>

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:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
HgBrowser(java.lang.String url)
           
 
Method Summary
 java.net.URL getChangeSetLink(MercurialChangeSet changeset)
          
 java.net.URL getUrl()
           
 java.lang.Object readResolve()
           
 
Methods inherited from class hudson.scm.RepositoryBrowser
all, getDescriptor, normalizeToEndWithSlash, trimHeadSlash
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HgBrowser

public HgBrowser(java.lang.String url)
          throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException
Method Detail

getChangeSetLink

public java.net.URL getChangeSetLink(MercurialChangeSet changeset)
                              throws java.io.IOException

Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<MercurialChangeSet>
Throws:
java.io.IOException

getUrl

public java.net.URL getUrl()

readResolve

public java.lang.Object readResolve()


Copyright © 2009. All Rights Reserved.