hudson.plugins.bazaar
Class BazaarRepositoryBrowser

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
      extended by hudson.scm.RepositoryBrowser<BazaarChangeSet>
          extended by hudson.plugins.bazaar.BazaarRepositoryBrowser
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable
Direct Known Subclasses:
Loggerhead, OpenGrok

public abstract class BazaarRepositoryBrowser
extends hudson.scm.RepositoryBrowser<BazaarChangeSet>

RepositoryBrowser for Bazaar.

Author:
Alexandre Garnier
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
BazaarRepositoryBrowser()
           
 
Method Summary
abstract  java.net.URL getDiffLink(BazaarAffectedFile affectedFile)
          Determines the link to the diff between the version in the specified revision of BazaarAffectedFile to its previous version.
abstract  java.net.URL getFileLink(BazaarAffectedFile affectedFile)
          Determines the link to a single file under Bazaar.
protected static boolean isFolderPath(java.lang.String path)
           
protected static boolean isRenaming(BazaarAffectedFile affectedFile)
           
 
Methods inherited from class hudson.scm.RepositoryBrowser
all, getChangeSetLink, 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
 

Constructor Detail

BazaarRepositoryBrowser

public BazaarRepositoryBrowser()
Method Detail

getDiffLink

public abstract java.net.URL getDiffLink(BazaarAffectedFile affectedFile)
                                  throws java.io.IOException
Determines the link to the diff between the version in the specified revision of BazaarAffectedFile to its previous version.

Returns:
null if the browser doesn't have any URL for diff.
Throws:
java.io.IOException

getFileLink

public abstract java.net.URL getFileLink(BazaarAffectedFile affectedFile)
                                  throws java.io.IOException
Determines the link to a single file under Bazaar. This page should display all the past revisions of this file, etc.

Returns:
null if the browser doesn't have any suitable URL.
Throws:
java.io.IOException

isRenaming

protected static boolean isRenaming(BazaarAffectedFile affectedFile)

isFolderPath

protected static boolean isFolderPath(java.lang.String path)


Copyright © 2011. All Rights Reserved.