hudson.plugins.git.browser
Class GitRepositoryBrowser
java.lang.Object
hudson.model.AbstractDescribableImpl<hudson.scm.RepositoryBrowser<?>>
hudson.scm.RepositoryBrowser<GitChangeSet>
hudson.plugins.git.browser.GitRepositoryBrowser
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.scm.RepositoryBrowser<?>>, Serializable
- Direct Known Subclasses:
- GithubWeb, GitWeb, RedmineWeb
public abstract class GitRepositoryBrowser
- extends hudson.scm.RepositoryBrowser<GitChangeSet>
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
| 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 |
GitRepositoryBrowser
public GitRepositoryBrowser()
getDiffLink
public abstract URL getDiffLink(GitChangeSet.Path path)
throws IOException
- Determines the link to the diff between the version
in the specified revision of
GitChangeSet.Path to its previous version.
- Parameters:
path - affected file path
- Returns:
- null if the browser doesn't have any URL for diff.
- Throws:
IOException
getFileLink
public abstract URL getFileLink(GitChangeSet.Path path)
throws IOException
- Determines the link to a single file under Git.
This page should display all the past revisions of this file, etc.
- Parameters:
path - affected file path
- Returns:
- null if the browser doesn't have any suitable URL.
- Throws:
IOException
Copyright © 2004-2011 Hudson. All Rights Reserved.