public class GitWeb extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
GitWeb.GitWebDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(GitChangeSet changeSet) |
URL |
getDiffLink(GitChangeSet.Path path)
Creates a link to the file diff.
|
URL |
getFileLink(GitChangeSet.Path path)
Creates a link to the file.
|
protected boolean |
getNormalizeUrl()
Determines whether a URL should be normalized
Overridden in the rare case where it shouldn't
|
encodeURL, getIndexOfPath, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrlall, normalizeToEndWithSlash, trimHeadSlashgetDescriptor@DataBoundConstructor public GitWeb(String repoUrl)
protected boolean getNormalizeUrl()
GitRepositoryBrowsergetNormalizeUrl in class GitRepositoryBrowserpublic URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class RepositoryBrowser<GitChangeSet>IOExceptionpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
getDiffLink in class GitRepositoryBrowserpath - affected file pathIOException - on input or output errorpublic URL getFileLink(GitChangeSet.Path path) throws IOException
getFileLink in class GitRepositoryBrowserpath - fileIOException - on input or output errorCopyright © 2007–2021. All rights reserved.