Class GitLabBrowser
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<RepositoryBrowser<?>>
-
- hudson.scm.RepositoryBrowser<hudson.plugins.git.GitChangeSet>
-
- hudson.plugins.git.browser.GitRepositoryBrowser
-
- io.jenkins.plugins.gitlabbranchsource.helpers.GitLabBrowser
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<RepositoryBrowser<?>>
,Serializable
public class GitLabBrowser extends hudson.plugins.git.browser.GitRepositoryBrowser
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitLabBrowser.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitLabBrowser(String projectUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URL
getChangeSetLink(hudson.plugins.git.GitChangeSet changeSet)
URL
getDiffLink(hudson.plugins.git.GitChangeSet.Path path)
URL
getFileLink(hudson.plugins.git.GitChangeSet.Path path)
String
getProjectUrl()
-
Methods inherited from class hudson.plugins.git.browser.GitRepositoryBrowser
encodeURL, getChangeSetLink, getIndexOfPath, getNormalizeUrl, getRepoUrl, getUrl, initialChecksAndReturnOk, validateUrl
-
Methods inherited from class hudson.scm.RepositoryBrowser
all, normalizeToEndWithSlash, trimHeadSlash
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Constructor Detail
-
GitLabBrowser
@DataBoundConstructor public GitLabBrowser(String projectUrl)
-
-
Method Detail
-
getProjectUrl
public String getProjectUrl()
-
getChangeSetLink
public URL getChangeSetLink(hudson.plugins.git.GitChangeSet changeSet) throws IOException
- Specified by:
getChangeSetLink
in classRepositoryBrowser<hudson.plugins.git.GitChangeSet>
- Throws:
IOException
-
getDiffLink
public URL getDiffLink(hudson.plugins.git.GitChangeSet.Path path) throws IOException
- Specified by:
getDiffLink
in classhudson.plugins.git.browser.GitRepositoryBrowser
- Throws:
IOException
-
getFileLink
public URL getFileLink(hudson.plugins.git.GitChangeSet.Path path) throws IOException
- Specified by:
getFileLink
in classhudson.plugins.git.browser.GitRepositoryBrowser
- Throws:
IOException
-
-