Uses of Class
jenkins.scm.api.SCMSourceCategory
Package
Description
The public API contract of the SCM API plugin.
The common implementations of classes in the public API.
-
Uses of SCMSourceCategory in jenkins.scm.api
Modifier and TypeFieldDescriptionprotected Set<SCMSourceCategory>
SCMNavigatorDescriptor.categories
The set ofSCMSourceCategory
singletons for this type ofSCMNavigator
Modifier and TypeMethodDescriptionprotected SCMSourceCategory[]
SCMNavigatorDescriptor.createCategories()
Creates the singletonSCMSourceCategory
instances that this type ofSCMNavigator
is capable of producing.static SCMSourceCategory
SCMSourceCategory.union
(List<SCMSourceCategory> categories) Reduces a list of categories into a single composite category.Modifier and TypeMethodDescriptionstatic List<SCMSourceCategory>
SCMSourceCategory.addUncategorizedIfMissing
(List<SCMSourceCategory> categories) Ensures that the supplied list of categories includes theUncategorizedSCMSourceCategory
.static List<SCMSourceCategory>
SCMSourceCategory.collect
(Iterable<SCMNavigator> navigators) IteratesSCMNavigator
instances collecting the unique list ofSCMSourceCategory
instances.static Map<String,
SCMSourceCategory> SCMSourceCategory.collectAndSimplify
(Iterable<SCMNavigator> navigators) Collects theSCMSourceCategory
instances from a set ofSCMNavigator
instances and simplifies the result.final Set<? extends SCMSourceCategory>
SCMNavigator.getCategories()
Returns the set ofSCMSourceCategory
that thisSCMNavigator
supports.final Set<SCMSourceCategory>
SCMNavigatorDescriptor.getCategories()
Returns the set ofSCMSourceCategory
that thisSCMNavigator
supports.static Map<String,
SCMSourceCategory> SCMSourceCategory.simplify
(Iterable<SCMSourceCategory> categories) Simplifies a collection ofSCMSourceCategory
replacing duplicates with theirunion(List)
.Modifier and TypeMethodDescriptionprotected boolean
SCMNavigator.isCategoryEnabled
(SCMSourceCategory category) Sub-classes can override this method to filter the categories that are available from a specific source.Modifier and TypeMethodDescriptionstatic List<SCMSourceCategory>
SCMSourceCategory.addUncategorizedIfMissing
(List<SCMSourceCategory> categories) Ensures that the supplied list of categories includes theUncategorizedSCMSourceCategory
.static Map<String,
SCMSourceCategory> SCMSourceCategory.simplify
(Iterable<SCMSourceCategory> categories) Simplifies a collection ofSCMSourceCategory
replacing duplicates with theirunion(List)
.static SCMSourceCategory
SCMSourceCategory.union
(List<SCMSourceCategory> categories) Reduces a list of categories into a single composite category. -
Uses of SCMSourceCategory in jenkins.scm.impl
Modifier and TypeClassDescriptionfinal class
Standard category for uncategorized instances.