Package jenkins.plugins.git.traits
Class GitBrowserSCMSourceTrait
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<T>
-
- jenkins.scm.api.trait.SCMTrait<jenkins.scm.api.trait.SCMSourceTrait>
-
- jenkins.scm.api.trait.SCMSourceTrait
-
- jenkins.plugins.git.traits.GitBrowserSCMSourceTrait
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.scm.api.trait.SCMSourceTrait>
public class GitBrowserSCMSourceTrait extends jenkins.scm.api.trait.SCMSourceTrait
- Since:
- 3.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GitBrowserSCMSourceTrait.DescriptorImpl
OurDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description GitBrowserSCMSourceTrait(GitRepositoryBrowser browser)
Stapler constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decorateBuilder(jenkins.scm.api.trait.SCMBuilder<?,?> builder)
GitRepositoryBrowser
getBrowser()
Gets theGitRepositoryBrowser
..
-
-
-
Constructor Detail
-
GitBrowserSCMSourceTrait
@DataBoundConstructor public GitBrowserSCMSourceTrait(@CheckForNull GitRepositoryBrowser browser)
Stapler constructor.- Parameters:
browser
- theGitRepositoryBrowser
ornull
to use the "auto" browser.
-
-
Method Detail
-
getBrowser
@CheckForNull public GitRepositoryBrowser getBrowser()
Gets theGitRepositoryBrowser
..- Returns:
- the
GitRepositoryBrowser
ornull
to use the "auto" browser.
-
decorateBuilder
protected void decorateBuilder(jenkins.scm.api.trait.SCMBuilder<?,?> builder)
- Overrides:
decorateBuilder
in classjenkins.scm.api.trait.SCMSourceTrait
-
-