Uses of Class
jenkins.scm.api.trait.SCMTrait
-
Packages that use SCMTrait Package Description jenkins.scm.api The public API contract of the SCM API plugin.jenkins.scm.api.trait An API/SPI to allow the sharing of common traits between differentSCMSource
andSCMNavigator
implementations.jenkins.scm.impl.trait -
-
Uses of SCMTrait in jenkins.scm.api
Methods in jenkins.scm.api that return types with arguments of type SCMTrait Modifier and Type Method Description List<SCMTrait<? extends SCMTrait<?>>>
SCMNavigator. getTraits()
Gets the traits for this navigator.List<SCMTrait<? extends SCMTrait<?>>>
SCMNavigator. getTraits()
Gets the traits for this navigator.List<SCMTrait<? extends SCMTrait<?>>>
SCMNavigatorDescriptor. getTraitsDefaults()
Returns the default traits for thisSCMSource
.List<SCMTrait<? extends SCMTrait<?>>>
SCMNavigatorDescriptor. getTraitsDefaults()
Returns the default traits for thisSCMSource
.Method parameters in jenkins.scm.api with type arguments of type SCMTrait Modifier and Type Method Description void
SCMNavigator. setTraits(List<SCMTrait<? extends SCMTrait<?>>> traits)
Sets the traits for this navigator.void
SCMNavigator. setTraits(List<SCMTrait<? extends SCMTrait<?>>> traits)
Sets the traits for this navigator. -
Uses of SCMTrait in jenkins.scm.api.trait
Classes in jenkins.scm.api.trait with type parameters of type SCMTrait Modifier and Type Class Description class
SCMTrait<T extends SCMTrait<T>>
Base class for common traits.class
SCMTraitDescriptor<T extends SCMTrait<T>>
Abstract base class forDescriptor
ofSCMTrait
implementations.Subclasses of SCMTrait in jenkins.scm.api.trait Modifier and Type Class Description class
SCMNavigatorTrait
Represents a trait of behaviour or configuration that can be applied to aSCMSource
.class
SCMSourceTrait
Represents a trait of behaviour or configuration that can be applied to aSCMSource
.Methods in jenkins.scm.api.trait with type parameters of type SCMTrait Modifier and Type Method Description static <T extends SCMTrait<?>>
ArrayList<T>SCMTrait. asSetList(Iterable<? extends T> list)
Converts the supplied list ofSCMTrait
instances into a list where there is at most one instance of each trait.static <T extends SCMTrait<?>>
ArrayList<T>SCMTrait. asSetList(T first, Iterable<? extends T> list)
Converts the supplied instance and list ofSCMTrait
instances into a list where there is at most one instance of each trait.static <T extends SCMTrait<?>>
TSCMTrait. find(Iterable<?> traits, Class<T> clazz)
Finds the trait of the required type.Methods in jenkins.scm.api.trait with parameters of type SCMTrait Modifier and Type Method Description C
SCMNavigatorContext. withTraits(SCMTrait<? extends SCMTrait<?>>... traits)
Adds / applies the suppliedSCMTrait
.B
SCMSourceBuilder. withTraits(SCMTrait<? extends SCMTrait<?>>... traits)
Apply theSCMTrait
instances to thisSCMSourceBuilder
.Method parameters in jenkins.scm.api.trait with type arguments of type SCMTrait Modifier and Type Method Description C
SCMNavigatorContext. withTraits(Collection<? extends SCMTrait<?>> traits)
Adds / applies the suppliedSCMTrait
.B
SCMSourceBuilder. withTraits(Collection<? extends SCMTrait<?>> traits)
Apply theSCMTrait
instances to thisSCMSourceBuilder
. -
Uses of SCMTrait in jenkins.scm.impl.trait
Subclasses of SCMTrait in jenkins.scm.impl.trait Modifier and Type Class Description class
RegexSCMHeadFilterTrait
Decorates aSCMSource
with aSCMHeadPrefilter
that excludesSCMHead
instances with names that do not match a user supplied regular expression.class
RegexSCMSourceFilterTrait
Decorates aSCMNavigator
with aSCMSourcePrefilter
that excludes projects with names that do not match a user supplied regular expression.class
WildcardSCMHeadFilterTrait
Decorates aSCMSource
with aSCMHeadPrefilter
that filtersSCMHead
instances based on matching wildcard include/exclude rules.class
WildcardSCMSourceFilterTrait
Decorates aSCMNavigator
with aSCMSourcePrefilter
that filters project names based on matching wildcard include/exclude rules.
-