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>
public class CleanBeforeCheckoutTrait extends GitSCMExtensionTrait<CleanBeforeCheckout>
ExposesCleanBeforeCheckout
as aSCMSourceTrait
.- Since:
- 3.4.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CleanBeforeCheckoutTrait.DescriptorImpl
OurDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description CleanBeforeCheckoutTrait()
Deprecated.Use constructor that accepts extension instead.CleanBeforeCheckoutTrait(CleanBeforeCheckout extension)
Stapler constructor.
-
Method Summary
-
Methods inherited from class jenkins.plugins.git.traits.GitSCMExtensionTrait
decorateBuilder, getExtension
-
-
-
-
Constructor Detail
-
CleanBeforeCheckoutTrait
@Deprecated public CleanBeforeCheckoutTrait()
Deprecated.Use constructor that accepts extension instead.
-
CleanBeforeCheckoutTrait
@DataBoundConstructor public CleanBeforeCheckoutTrait(@CheckForNull CleanBeforeCheckout extension)
Stapler constructor.- Parameters:
extension
- the option to clean subdirectories which contain git repositories.
-
-