Package jenkins.plugins.git.traits
package jenkins.plugins.git.traits
The common behaviours that can be used by all
GitSCMSource instances and most
AbstractGitSCMSource instances.
A lot of these will be effectively simple wrappers over GitSCMExtension
however we do not want every GitSCMExtension to have a corresponding
GitSCMExtensionTrait as some of the extensions do not make sense in the context
of a GitSCMSource.
There are some recommendations for GitSCMExtension implementations that are
being exposed as GitSCMExtensionTrait types:
- Implement an
Object.equals(java.lang.Object) - Implement a
Object.hashCode()returningObject.hashCode() - Implement
Object.toString()
- Since:
- 3.4.0
-
ClassesClassDescriptionExposes
AuthorInChangelogas aSCMSourceTrait.OurDescriptorADiscoverytrait for Git that will discover branches on the repository.Trusts branches from the repository.Out descriptor.BranchDiscoveryTrait descriptor.ExposesCheckoutOptionas aSCMSourceTrait.OurDescriptorExposesCleanCheckoutas aSCMSourceTrait.OurDescriptorExposesCleanBeforeCheckoutas aSCMSourceTrait.OurDescriptorExposesCloneOptionas aSCMSourceTrait.OurDescriptorOur descriptor.ExposesFirstBuildChangelogas aSCMSourceTrait.OurDescriptorOurDescriptorExposesGitLFSPullas aSCMSourceTrait.OurDescriptorGitSCMExtensionTrait<E extends GitSCMExtension>Base class for exposing aGitSCMExtensionas aSCMSourceTrait.Base class for theDescriptorof aGitSCMExtension.OurDescriptorOurDescriptorExposes the subset ofLocalBranchthat is appropriate in the context of aSCMSourceas aSCMSourceTrait.OurDescriptorGenerated localization support class.ExposesPruneStaleBranchas aSCMSourceTrait.OurDescriptorExposesPruneStaleTagas aSCMSourceTrait.OurDescriptorExposes the ref specs of aAbstractGitSCMSourceas aSCMSourceTrait.OurDescriptorRepresents a single wrapped template for easier form binding.Exposes the remote name used for the fetch in aAbstractGitSCMSourceas aSCMSourceTrait.OurDescriptorExposesSparseCheckoutPathsas aSCMSourceTrait.OurDescriptorExposesSubmoduleOptionas aSCMSourceTrait.OurDescriptorADiscoverytrait for Git that will discover tags on the repository.Our descriptor.Trusts tags from the repository.Out descriptor.ExposesUserIdentityas aSCMSourceTrait.OurDescriptorExposesWipeWorkspaceas aSCMSourceTrait.OurDescriptor