Package jenkins.branch
Class BranchCategoryFilter
java.lang.Object
hudson.views.ViewJobFilter
jenkins.branch.BranchCategoryFilter
- All Implemented Interfaces:
ExtensionPoint
,Describable<ViewJobFilter>
A
ViewJobFilter
that filters the children of a MultiBranchProject
based on a SCMHeadCategory
.
Designed for programmatic construction only. Not designed for user instantiation, hence no Descriptor
.- Since:
- 2.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
ConstructorDescriptionBranchCategoryFilter
(jenkins.scm.api.SCMHeadCategory category) Our constructor. -
Method Summary
Modifier and TypeMethodDescriptionfilter
(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView) Methods inherited from class hudson.views.ViewJobFilter
all, getDescriptor
-
Constructor Details
-
BranchCategoryFilter
public BranchCategoryFilter(@NonNull jenkins.scm.api.SCMHeadCategory category) Our constructor.- Parameters:
category
- the category.
-
-
Method Details
-
filter
public List<TopLevelItem> filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView) - Specified by:
filter
in classViewJobFilter
-