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
-
ClassDescriptionExposes
AuthorInChangelog
as aSCMSourceTrait
.OurDescriptor
ADiscovery
trait for Git that will discover branches on the repository.Trusts branches from the repository.Out descriptor.BranchDiscoveryTrait descriptor.ExposesCheckoutOption
as aSCMSourceTrait
.OurDescriptor
ExposesCleanCheckout
as aSCMSourceTrait
.OurDescriptor
ExposesCleanBeforeCheckout
as aSCMSourceTrait
.OurDescriptor
ExposesCloneOption
as aSCMSourceTrait
.OurDescriptor
Our descriptor.ExposesFirstBuildChangelog
as aSCMSourceTrait
.OurDescriptor
OurDescriptor
ExposesGitLFSPull
as aSCMSourceTrait
.OurDescriptor
GitSCMExtensionTrait<E extends GitSCMExtension>Base class for exposing aGitSCMExtension
as aSCMSourceTrait
.Base class for theDescriptor
of aGitSCMExtension
.OurDescriptor
OurDescriptor
Exposes the subset ofLocalBranch
that is appropriate in the context of aSCMSource
as aSCMSourceTrait
.OurDescriptor
Generated localization support class.ExposesPruneStaleBranch
as aSCMSourceTrait
.OurDescriptor
ExposesPruneStaleTag
as aSCMSourceTrait
.OurDescriptor
Exposes the ref specs of aAbstractGitSCMSource
as aSCMSourceTrait
.OurDescriptor
Represents a single wrapped template for easier form binding.Exposes the remote name used for the fetch in aAbstractGitSCMSource
as aSCMSourceTrait
.OurDescriptor
ExposesSparseCheckoutPaths
as aSCMSourceTrait
.OurDescriptor
ExposesSubmoduleOption
as aSCMSourceTrait
.OurDescriptor
ADiscovery
trait for Git that will discover tags on the repository.Our descriptor.Trusts tags from the repository.Out descriptor.ExposesUserIdentity
as aSCMSourceTrait
.OurDescriptor
ExposesWipeWorkspace
as aSCMSourceTrait
.OurDescriptor