public class GitoriousWeb extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
GitoriousWeb.GitoriousWebDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
GitoriousWeb(String repoUrl) |
| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(GitChangeSet changeSet) |
URL |
getDiffLink(GitChangeSet.Path path)
Creates a link to the commit diff.
|
URL |
getFileLink(GitChangeSet.Path path)
Creates a link to the file.
|
encodeURL, getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrlall, normalizeToEndWithSlash, trimHeadSlashgetDescriptor@DataBoundConstructor public GitoriousWeb(String repoUrl)
public URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class RepositoryBrowser<GitChangeSet>IOExceptionpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
https://[Gitorious URL]/commit/a9182a07750c9a0dfd89a8461adf72ef5ef0885b/diffs?diffmode=sidebyside&fragment=1#[path to file]getDiffLink in class GitRepositoryBrowserpath - file path used in diff linkIOException - on input or output errorpublic URL getFileLink(GitChangeSet.Path path) throws IOException
https://[Gitorious URL]/blobs/a9182a07750c9a0dfd89a8461adf72ef5ef0885b/pom.xmlgetFileLink in class GitRepositoryBrowserpath - file path used in diff linkIOException - on input or output errorCopyright © 2007–2020. All rights reserved.