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