| Package | Description |
|---|---|
| jenkins.scm.api |
The public API contract of the SCM API plugin.
|
| jenkins.scm.impl |
The common implementations of classes in the public API.
|
| Modifier and Type | Field and Description |
|---|---|
protected Set<SCMSourceCategory> |
SCMNavigatorDescriptor.categories
The set of
SCMSourceCategory singletons for this type of SCMNavigator |
| Modifier and Type | Method and Description |
|---|---|
protected SCMSourceCategory[] |
SCMNavigatorDescriptor.createCategories()
Creates the singleton
SCMSourceCategory instances that this type of SCMNavigator is capable of
producing. |
static SCMSourceCategory |
SCMSourceCategory.union(List<SCMSourceCategory> categories)
Reduces a list of categories into a single composite category.
|
| Modifier and Type | Method and Description |
|---|---|
static List<SCMSourceCategory> |
SCMSourceCategory.addUncategorizedIfMissing(List<SCMSourceCategory> categories)
Ensures that the supplied list of categories includes the
UncategorizedSCMSourceCategory. |
static List<SCMSourceCategory> |
SCMSourceCategory.collect(Iterable<SCMNavigator> navigators)
Iterates
SCMNavigator instances collecting the unique list of SCMSourceCategory instances. |
static Map<String,SCMSourceCategory> |
SCMSourceCategory.collectAndSimplify(Iterable<SCMNavigator> navigators)
Collects the
SCMSourceCategory instances from a set of SCMNavigator instances and simplifies the
result. |
Set<? extends SCMSourceCategory> |
SCMNavigator.getCategories()
Returns the set of
SCMSourceCategory that this SCMNavigator supports. |
Set<SCMSourceCategory> |
SCMNavigatorDescriptor.getCategories()
Returns the set of
SCMSourceCategory that this SCMNavigator supports. |
static Map<String,SCMSourceCategory> |
SCMSourceCategory.simplify(Iterable<SCMSourceCategory> categories)
Simplifies a collection of
SCMSourceCategory replacing duplicates with their union(List). |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
SCMNavigator.isCategoryEnabled(SCMSourceCategory 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<SCMSourceCategory> |
SCMSourceCategory.addUncategorizedIfMissing(List<SCMSourceCategory> categories)
Ensures that the supplied list of categories includes the
UncategorizedSCMSourceCategory. |
static Map<String,SCMSourceCategory> |
SCMSourceCategory.simplify(Iterable<SCMSourceCategory> categories)
Simplifies a collection of
SCMSourceCategory replacing duplicates with their union(List). |
static SCMSourceCategory |
SCMSourceCategory.union(List<SCMSourceCategory> categories)
Reduces a list of categories into a single composite category.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UncategorizedSCMSourceCategory
Standard category for uncategorized instances.
|
Copyright © 2016–2019. All rights reserved.