| 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 |
The common implementations of classes in the public API.
|
| Modifier and Type | Field and Description |
|---|---|
protected Set<SCMHeadCategory> |
SCMSourceDescriptor.categories
The set of
SCMHeadCategory singletons for this type of SCMSource |
| Modifier and Type | Method and Description |
|---|---|
protected SCMHeadCategory[] |
SCMSourceDescriptor.createCategories()
Creates the singleton
SCMHeadCategory instances that this type of SCMSource is capable of
producing. |
static SCMHeadCategory |
SCMHeadCategory.union(List<SCMHeadCategory> categories)
Reduces a list of categories into a single composite category.
|
| Modifier and Type | Method and Description |
|---|---|
static List<SCMHeadCategory> |
SCMHeadCategory.addUncategorizedIfMissing(List<SCMHeadCategory> categories)
Ensures that the supplied list of categories includes the
UncategorizedSCMHeadCategory. |
static List<SCMHeadCategory> |
SCMHeadCategory.collect(Iterable<SCMSource> sources)
Iterates
SCMSource instances collecting the unique list of SCMHeadCategory instances. |
static Map<String,SCMHeadCategory> |
SCMHeadCategory.collectAndSimplify(Iterable<SCMSource> sources)
Collects the
SCMHeadCategory instances from a set of SCMSource instances and simplifies the
result. |
Set<SCMHeadCategory> |
SCMSourceDescriptor.getCategories()
Returns the set of
SCMHeadCategory that this SCMSource supports. |
Set<? extends SCMHeadCategory> |
SCMSource.getCategories()
Returns the set of
SCMHeadCategory that this SCMSource supports. |
static Map<String,SCMHeadCategory> |
SCMHeadCategory.simplify(Iterable<SCMHeadCategory> categories)
Simplifies a collection of
SCMHeadCategory replacing duplicates with their union(List). |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SCMSource.isCategoryEnabled(SCMHeadCategory category)
Sub-classes can override this method to filter the categories that are available from a specific source.
|
| Modifier and Type | Method and Description |
|---|---|
static List<SCMHeadCategory> |
SCMHeadCategory.addUncategorizedIfMissing(List<SCMHeadCategory> categories)
Ensures that the supplied list of categories includes the
UncategorizedSCMHeadCategory. |
static Map<String,SCMHeadCategory> |
SCMHeadCategory.simplify(Iterable<SCMHeadCategory> categories)
Simplifies a collection of
SCMHeadCategory replacing duplicates with their union(List). |
static SCMHeadCategory |
SCMHeadCategory.union(List<SCMHeadCategory> categories)
Reduces a list of categories into a single composite category.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SCMNavigatorTrait.includeCategory(SCMHeadCategory category)
SPI: Override this method to control whether specific
SCMHeadCategory instances are required. |
protected boolean |
SCMSourceTrait.includeCategory(SCMHeadCategory category)
SPI: Override this method to control whether specific
SCMHeadCategory instances are required. |
boolean |
SCMNavigatorTrait.isCategoryEnabled(SCMHeadCategory category)
Checks if the supplied category is required by this trait.
|
boolean |
SCMSourceTrait.isCategoryEnabled(SCMHeadCategory category)
Checks if the supplied category is required by this trait.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ChangeRequestSCMHeadCategory
Standard category for
SCMHead instances that implement ChangeRequestSCMHead. |
class |
TagSCMHeadCategory
Standard category for
SCMHead instances that implement TagSCMHead. |
class |
UncategorizedSCMHeadCategory
Standard category for uncategorized instances.
|
Copyright © 2016–2019. All rights reserved.