Uses of Class
jenkins.scm.api.SCMHeadCategory
-
Packages that use SCMHeadCategory 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 differentSCMSource
andSCMNavigator
implementations.jenkins.scm.impl 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 SCMHeadCategory Modifier and Type Field Description protected Set<SCMHeadCategory>
SCMSourceDescriptor. categories
The set ofSCMHeadCategory
singletons for this type ofSCMSource
Methods in jenkins.scm.api that return SCMHeadCategory Modifier and Type Method Description protected SCMHeadCategory[]
SCMSourceDescriptor. createCategories()
Creates the singletonSCMHeadCategory
instances that this type ofSCMSource
is capable of producing.static SCMHeadCategory
SCMHeadCategory. 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 SCMHeadCategory Modifier and Type Method Description static List<SCMHeadCategory>
SCMHeadCategory. addUncategorizedIfMissing(List<SCMHeadCategory> categories)
Ensures that the supplied list of categories includes theUncategorizedSCMHeadCategory
.static List<SCMHeadCategory>
SCMHeadCategory. collect(Iterable<SCMSource> sources)
IteratesSCMSource
instances collecting the unique list ofSCMHeadCategory
instances.static Map<String,SCMHeadCategory>
SCMHeadCategory. collectAndSimplify(Iterable<SCMSource> sources)
Collects theSCMHeadCategory
instances from a set ofSCMSource
instances and simplifies the result.Set<? extends SCMHeadCategory>
SCMSource. getCategories()
Returns the set ofSCMHeadCategory
that thisSCMSource
supports.Set<SCMHeadCategory>
SCMSourceDescriptor. getCategories()
Returns the set ofSCMHeadCategory
that thisSCMSource
supports.static Map<String,SCMHeadCategory>
SCMHeadCategory. simplify(Iterable<SCMHeadCategory> categories)
Simplifies a collection ofSCMHeadCategory
replacing duplicates with theirunion(List)
.Methods in jenkins.scm.api with parameters of type SCMHeadCategory Modifier and Type Method Description protected boolean
SCMSource. 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 SCMHeadCategory Modifier and Type Method Description static 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 ofSCMHeadCategory
replacing duplicates with theirunion(List)
.static SCMHeadCategory
SCMHeadCategory. 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 SCMHeadCategory Modifier and Type Method Description protected boolean
SCMNavigatorTrait. includeCategory(SCMHeadCategory category)
SPI: Override this method to control whether specificSCMHeadCategory
instances are required.protected boolean
SCMSourceTrait. includeCategory(SCMHeadCategory category)
SPI: Override this method to control whether specificSCMHeadCategory
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. -
Uses of SCMHeadCategory in jenkins.scm.impl
Subclasses of SCMHeadCategory in jenkins.scm.impl Modifier and Type Class Description class
ChangeRequestSCMHeadCategory
Standard category forSCMHead
instances that implementChangeRequestSCMHead
.class
TagSCMHeadCategory
Standard category forSCMHead
instances that implementTagSCMHead
.class
UncategorizedSCMHeadCategory
Standard category for uncategorized instances.
-