hudson.scm.browsers
类 CollabNetSVN

java.lang.Object
  继承者 hudson.scm.RepositoryBrowser<BlameSubversionChangeLogSet.LogEntry>
      继承者 hudson.scm.BlameSubversionRepositoryBrowser
          继承者 hudson.scm.browsers.CollabNetSVN
所有已实现的接口:
hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable

public class CollabNetSVN
extends BlameSubversionRepositoryBrowser

RepositoryBrowser implementation for CollabNet hosted Subversion repositories. This enables Hudson to integrate with the repository browsers built-in to CollabNet-powered sites such as Java.net and Tigris.org.

作者:
Daniel Dyer
另请参见:
序列化表格

嵌套类摘要
static class CollabNetSVN.DescriptorImpl
           
 
从接口 hudson.ExtensionPoint 继承的嵌套类/接口
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
字段摘要
 java.net.URL url
           
 
构造方法摘要
CollabNetSVN(java.net.URL url)
           
 
方法摘要
 java.net.URL getChangeSetLink(BlameSubversionChangeLogSet.LogEntry changeSet)
          
 java.net.URL getDiffLink(BlameSubversionChangeLogSet.Path path)
          Determines the link to the diff between the version in the specified revision of BlameSubversionChangeLogSet.Path to its previous version.
 java.net.URL getFileLink(BlameSubversionChangeLogSet.Path path)
          Determines the link to a single file under Subversion.
 
从类 hudson.scm.RepositoryBrowser 继承的方法
all, getDescriptor, normalizeToEndWithSlash, trimHeadSlash
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

url

public final java.net.URL url
构造方法详细信息

CollabNetSVN

@DataBoundConstructor
public CollabNetSVN(java.net.URL url)
参数:
url - The repository browser URL for the root of the project. For example, a Java.net project called "myproject" would use https://myproject.dev.java.net/source/browse/myproject
方法详细信息

getDiffLink

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

指定者:
BlameSubversionRepositoryBrowser 中的 getDiffLink
返回:
null if the browser doesn't have any URL for diff.
抛出:
java.io.IOException

getFileLink

public java.net.URL getFileLink(BlameSubversionChangeLogSet.Path path)
                         throws java.io.IOException
Determines the link to a single file under Subversion. This page should display all the past revisions of this file, etc.

指定者:
BlameSubversionRepositoryBrowser 中的 getFileLink
返回:
null if the browser doesn't have any suitable URL.
抛出:
java.io.IOException

getChangeSetLink

public java.net.URL getChangeSetLink(BlameSubversionChangeLogSet.LogEntry changeSet)
                              throws java.io.IOException

指定者:
hudson.scm.RepositoryBrowser<BlameSubversionChangeLogSet.LogEntry> 中的 getChangeSetLink
抛出:
java.io.IOException


Copyright © 2010. All Rights Reserved.