public class GitBlitRepositoryBrowser extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
GitBlitRepositoryBrowser.ViewGitWebDescriptor |
| Constructor and Description |
|---|
GitBlitRepositoryBrowser(String repoUrl,
String projectName) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(GitChangeSet changeSet) |
URL |
getDiffLink(GitChangeSet.Path path)
Determines the link to the diff between the version
in the specified revision of
GitChangeSet.Path to its previous version. |
URL |
getFileLink(GitChangeSet.Path path)
Determines the link to a single file under Git.
|
String |
getProjectName() |
getNormalizeUrl, getRepoUrl, getUrlpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
GitRepositoryBrowserGitChangeSet.Path to its previous version.getDiffLink in class GitRepositoryBrowserpath - affected file pathIOExceptionpublic URL getFileLink(GitChangeSet.Path path) throws IOException
GitRepositoryBrowsergetFileLink in class GitRepositoryBrowserpath - affected file pathIOExceptionpublic URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class hudson.scm.RepositoryBrowser<GitChangeSet>IOExceptionpublic String getProjectName()
Copyright © 2004-2015. All Rights Reserved.