Package jenkins.plugins.git.traits
Class CleanBeforeCheckoutTrait
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<CleanBeforeCheckout>
jenkins.plugins.git.traits.CleanBeforeCheckoutTrait
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.scm.api.trait.SCMSourceTrait>
Exposes
CleanBeforeCheckout
as a SCMSourceTrait
.- Since:
- 3.4.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionDeprecated.Use constructor that accepts extension instead.CleanBeforeCheckoutTrait
(CleanBeforeCheckout extension) Stapler constructor. -
Method Summary
Methods inherited from class jenkins.plugins.git.traits.GitSCMExtensionTrait
decorateBuilder, getExtension
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
-
CleanBeforeCheckoutTrait
Deprecated.Use constructor that accepts extension instead. -
CleanBeforeCheckoutTrait
Stapler constructor.- Parameters:
extension
- the option to clean subdirectories which contain git repositories.
-