| 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 different
SCMSource and
SCMNavigator implementations. |
| jenkins.scm.impl.trait |
| Modifier and Type | Method and 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 this
SCMSource. |
List<SCMTrait<? extends SCMTrait<?>>> |
SCMNavigatorDescriptor.getTraitsDefaults()
Returns the default traits for this
SCMSource. |
| Modifier and Type | Method and 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SCMTrait<T extends SCMTrait<T>>
Base class for common traits.
|
class |
SCMTraitDescriptor<T extends SCMTrait<T>>
Abstract base class for
Descriptor of SCMTrait implementations. |
| Modifier and Type | Class and Description |
|---|---|
class |
SCMNavigatorTrait
Represents a trait of behaviour or configuration that can be applied to a
SCMSource. |
class |
SCMSourceTrait
Represents a trait of behaviour or configuration that can be applied to a
SCMSource. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends SCMTrait<?>> |
SCMTrait.asSetList(Iterable<? extends T> list)
Converts the supplied list of
SCMTrait instances into a list where there is at most one instance of
each trait. |
static <T extends SCMTrait<?>> |
SCMTrait.asSetList(T first,
Iterable<? extends T> list)
Converts the supplied instance and list of
SCMTrait instances into a list where there is at most one
instance of each trait. |
static <T extends SCMTrait<?>> |
SCMTrait.find(Iterable<?> traits,
Class<T> clazz)
Finds the trait of the required type.
|
| Modifier and Type | Method and Description |
|---|---|
B |
SCMSourceBuilder.withTraits(SCMTrait<? extends SCMTrait<?>>... traits)
Apply the
SCMTrait instances to this SCMSourceBuilder. |
C |
SCMNavigatorContext.withTraits(SCMTrait<? extends SCMTrait<?>>... traits)
Adds / applies the supplied
SCMTrait. |
| Modifier and Type | Method and Description |
|---|---|
B |
SCMSourceBuilder.withTraits(Collection<? extends SCMTrait<?>> traits)
Apply the
SCMTrait instances to this SCMSourceBuilder. |
C |
SCMNavigatorContext.withTraits(Collection<? extends SCMTrait<?>> traits)
Adds / applies the supplied
SCMTrait. |
| Modifier and Type | Class and Description |
|---|---|
class |
RegexSCMHeadFilterTrait
Decorates a
SCMSource with a SCMHeadPrefilter that excludes SCMHead instances with names that
do not match a user supplied regular expression. |
class |
RegexSCMSourceFilterTrait
Decorates a
SCMNavigator with a SCMSourcePrefilter that excludes projects with names that do not
match a user supplied regular expression. |
class |
WildcardSCMHeadFilterTrait
Decorates a
SCMSource with a SCMHeadPrefilter that filters SCMHead instances based on
matching wildcard include/exclude rules. |
class |
WildcardSCMSourceFilterTrait
Decorates a
SCMNavigator with a SCMSourcePrefilter that filters project names based on
matching wildcard include/exclude rules. |
Copyright © 2016–2019. All rights reserved.