public class GitBlitRepositoryBrowser extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
GitBlitRepositoryBrowser.ViewGitWebDescriptor |
| Constructor and Description |
|---|
GitBlitRepositoryBrowser(String url,
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() |
URL |
getUrl() |
@DataBoundConstructor public GitBlitRepositoryBrowser(String url, String projectName) throws MalformedURLException
MalformedURLExceptionpublic 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 URL getUrl()
public String getProjectName()
Copyright © 2004-2013. All Rights Reserved.