hudson.scm.browsers
Class Sventon
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
hudson.scm.SubversionRepositoryBrowser
hudson.scm.browsers.AbstractSventon
hudson.scm.browsers.Sventon
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, java.io.Serializable
public class Sventon
- extends AbstractSventon
RepositoryBrowser for Sventon 1.x.
- Author:
- Stephen Connolly
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
|
Constructor Summary |
Sventon(java.net.URL url,
java.lang.String repositoryInstance)
|
| 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 |
Sventon
@DataBoundConstructor
public Sventon(java.net.URL url,
java.lang.String repositoryInstance)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getDiffLink
public java.net.URL getDiffLink(SubversionChangeLogSet.Path path)
throws java.io.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:
java.io.IOException
getFileLink
public java.net.URL getFileLink(SubversionChangeLogSet.Path path)
throws java.io.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:
java.io.IOException
getChangeSetLink
public java.net.URL getChangeSetLink(SubversionChangeLogSet.LogEntry changeSet)
throws java.io.IOException
- Specified by:
getChangeSetLink in class hudson.scm.RepositoryBrowser<SubversionChangeLogSet.LogEntry>
- Throws:
java.io.IOException
Copyright © 2011. All Rights Reserved.