Uses of Class
jenkins.scm.api.SCMHeadCategory
Packages that use SCMHeadCategory
Package
Description
The public API contract of the SCM API plugin.
An API/SPI to allow the sharing of common traits between different
SCMSource and
SCMNavigator implementations.The common implementations of classes in the public API.
-
Uses of SCMHeadCategory in jenkins.scm.api
Fields in jenkins.scm.api with type parameters of type SCMHeadCategoryModifier and TypeFieldDescriptionprotected Set<SCMHeadCategory>SCMSourceDescriptor.categoriesThe set ofSCMHeadCategorysingletons for this type ofSCMSourceMethods in jenkins.scm.api that return SCMHeadCategoryModifier and TypeMethodDescriptionprotected SCMHeadCategory[]SCMSourceDescriptor.createCategories()Creates the singletonSCMHeadCategoryinstances that this type ofSCMSourceis capable of producing.static SCMHeadCategorySCMHeadCategory.union(List<SCMHeadCategory> categories) Reduces a list of categories into a single composite category.Methods in jenkins.scm.api that return types with arguments of type SCMHeadCategoryModifier and TypeMethodDescriptionstatic List<SCMHeadCategory>SCMHeadCategory.addUncategorizedIfMissing(List<SCMHeadCategory> categories) Ensures that the supplied list of categories includes theUncategorizedSCMHeadCategory.static List<SCMHeadCategory>IteratesSCMSourceinstances collecting the unique list ofSCMHeadCategoryinstances.static Map<String,SCMHeadCategory> SCMHeadCategory.collectAndSimplify(Iterable<SCMSource> sources) Collects theSCMHeadCategoryinstances from a set ofSCMSourceinstances and simplifies the result.final Set<? extends SCMHeadCategory>SCMSource.getCategories()Returns the set ofSCMHeadCategorythat thisSCMSourcesupports.final Set<SCMHeadCategory>SCMSourceDescriptor.getCategories()Returns the set ofSCMHeadCategorythat thisSCMSourcesupports.static Map<String,SCMHeadCategory> SCMHeadCategory.simplify(Iterable<SCMHeadCategory> categories) Simplifies a collection ofSCMHeadCategoryreplacing duplicates with theirunion(List).Methods in jenkins.scm.api with parameters of type SCMHeadCategoryModifier and TypeMethodDescriptionprotected booleanSCMSource.isCategoryEnabled(SCMHeadCategory category) Sub-classes can override this method to filter the categories that are available from a specific source.Method parameters in jenkins.scm.api with type arguments of type SCMHeadCategoryModifier and TypeMethodDescriptionstatic List<SCMHeadCategory>SCMHeadCategory.addUncategorizedIfMissing(List<SCMHeadCategory> categories) Ensures that the supplied list of categories includes theUncategorizedSCMHeadCategory.static Map<String,SCMHeadCategory> SCMHeadCategory.simplify(Iterable<SCMHeadCategory> categories) Simplifies a collection ofSCMHeadCategoryreplacing duplicates with theirunion(List).static SCMHeadCategorySCMHeadCategory.union(List<SCMHeadCategory> categories) Reduces a list of categories into a single composite category. -
Uses of SCMHeadCategory in jenkins.scm.api.trait
Methods in jenkins.scm.api.trait with parameters of type SCMHeadCategoryModifier and TypeMethodDescriptionprotected booleanSCMNavigatorTrait.includeCategory(SCMHeadCategory category) SPI: Override this method to control whether specificSCMHeadCategoryinstances are required.protected booleanSCMSourceTrait.includeCategory(SCMHeadCategory category) SPI: Override this method to control whether specificSCMHeadCategoryinstances are required.final booleanSCMNavigatorTrait.isCategoryEnabled(SCMHeadCategory category) Checks if the supplied category is required by this trait.final booleanSCMSourceTrait.isCategoryEnabled(SCMHeadCategory category) Checks if the supplied category is required by this trait. -
Uses of SCMHeadCategory in jenkins.scm.impl
Subclasses of SCMHeadCategory in jenkins.scm.implModifier and TypeClassDescriptionfinal classStandard category forSCMHeadinstances that implementChangeRequestSCMHead.final classStandard category forSCMHeadinstances that implementTagSCMHead.final classStandard category for uncategorized instances.