public class GitLab extends GitRepositoryBrowser
| Modifier and Type | Class and Description |
|---|---|
static class |
GitLab.GitLabDescriptor |
ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
GitLab(String repoUrl) |
GitLab(String repoUrl,
String version)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
URL |
getChangeSetLink(GitChangeSet changeSet)
Creates a link to the changeset
v < 3.0: [GitLab URL]/commits/[Hash]
else: [GitLab URL]/commit/[Hash]
|
URL |
getDiffLink(GitChangeSet.Path path)
Creates a link to the commit diff.
|
URL |
getFileLink(GitChangeSet.Path path)
Creates a link to the file.
|
String |
getVersion() |
void |
setVersion(String version) |
encodeURL, getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrlall, normalizeToEndWithSlash, trimHeadSlashgetDescriptor@DataBoundConstructor public GitLab(String repoUrl)
@Deprecated public GitLab(String repoUrl, String version)
@DataBoundSetter public void setVersion(String version)
public String getVersion()
public URL getChangeSetLink(GitChangeSet changeSet) throws IOException
getChangeSetLink in class RepositoryBrowser<GitChangeSet>IOException - on input or output errorpublic URL getDiffLink(GitChangeSet.Path path) throws IOException
getDiffLink in class GitRepositoryBrowserpath - file path used in diff linkIOException - on input or output errorpublic URL getFileLink(GitChangeSet.Path path) throws IOException
getFileLink in class GitRepositoryBrowserpath - file path used in diff linkIOException - on input or output errorCopyright © 2007–2020. All rights reserved.