public class ViewGitWeb extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
ViewGitWeb.ViewGitWebDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
ViewGitWeb(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() |
encodeURL, getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrlall, normalizeToEndWithSlash, trimHeadSlashgetDescriptorpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
GitRepositoryBrowserGitChangeSet.Path to its previous version.getDiffLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorpublic URL getFileLink(GitChangeSet.Path path) throws IOException
GitRepositoryBrowsergetFileLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorpublic URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class RepositoryBrowser<GitChangeSet>IOExceptionpublic String getProjectName()
Copyright © 2007–2021. All rights reserved.