Package jenkins.plugins.git.traits
Class GitSCMExtensionTrait<E extends GitSCMExtension>
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.GitSCMExtensionTrait<E>
- Type Parameters:
E
- theGitSCMExtension
that is being exposed
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.scm.api.trait.SCMSourceTrait>
- Direct Known Subclasses:
AuthorInChangelogTrait
,CheckoutOptionTrait
,CleanAfterCheckoutTrait
,CleanBeforeCheckoutTrait
,CloneOptionTrait
,FirstBuildChangelogTrait
,GitLFSPullTrait
,LocalBranchTrait
,PruneStaleBranchTrait
,PruneStaleTagTrait
,SparseCheckoutPathsTrait
,SubmoduleOptionTrait
,UserIdentityTrait
,WipeWorkspaceTrait
public abstract class GitSCMExtensionTrait<E extends GitSCMExtension>
extends jenkins.scm.api.trait.SCMSourceTrait
Base class for exposing a
GitSCMExtension
as a SCMSourceTrait
.- Since:
- 3.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
decorateBuilder
(jenkins.scm.api.trait.SCMBuilder<?, ?> builder) Gets the extension.Methods inherited from class jenkins.scm.api.trait.SCMSourceTrait
_for, _for, all, applyToBuilder, applyToContext, applyToObserver, decorateContext, decorateObserver, getDescriptor, includeCategory, isCategoryEnabled
Methods inherited from class jenkins.scm.api.trait.SCMTrait
asSetList, asSetList, find
-
Constructor Details
-
GitSCMExtensionTrait
Constructor.- Parameters:
extension
- the extension.
-
-
Method Details
-
getExtension
Gets the extension.- Returns:
- the extension.
-
decorateBuilder
protected void decorateBuilder(jenkins.scm.api.trait.SCMBuilder<?, ?> builder) - Overrides:
decorateBuilder
in classjenkins.scm.api.trait.SCMSourceTrait
-