hudson.scm.browsers
Class Assembla

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
      extended by hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
          extended by hudson.scm.SubversionRepositoryBrowser
              extended by hudson.scm.browsers.Assembla
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable

public class Assembla
extends SubversionRepositoryBrowser

RepositoryBrowser for Subversion.

Since:
1.90
Author:
Shay Erlichmen
See Also:
Serialized Form

Nested Class Summary
static class Assembla.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 String spaceName
           
 
Constructor Summary
Assembla(String spaceName)
           
 
Method Summary
 URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet)
           
 URL getDiffLink(SubversionChangeLogSet.Path path)
          Determines the link to the diff between the version in the specified revision of SubversionChangeLogSet.Path to its previous version.
 URL getFileLink(SubversionChangeLogSet.Path path)
          Determines the link to a single file under Subversion.
 
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
 

Field Detail

spaceName

public final String spaceName
Constructor Detail

Assembla

@DataBoundConstructor
public Assembla(String spaceName)
         throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getDiffLink

public URL getDiffLink(SubversionChangeLogSet.Path path)
                throws IOException
Description copied from class: SubversionRepositoryBrowser
Determines the link to the diff between the version in the specified revision of SubversionChangeLogSet.Path to its previous version.

Specified by:
getDiffLink in class SubversionRepositoryBrowser
Returns:
null if the browser doesn't have any URL for diff.
Throws:
IOException

getFileLink

public URL getFileLink(SubversionChangeLogSet.Path path)
                throws IOException
Description copied from class: SubversionRepositoryBrowser
Determines the link to a single file under Subversion. This page should display all the past revisions of this file, etc.

Specified by:
getFileLink in class SubversionRepositoryBrowser
Returns:
null if the browser doesn't have any suitable URL.
Throws:
IOException

getChangeSetLink

public URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet)
                     throws IOException
Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.