public abstract class SimpleViewBranchFilter extends ViewJobFilter
ViewJobFilter that will filter based on the Branch that a job in a
MultiBranchProject belongs to.ExtensionPoint.LegacyInstancesAreScopedToHudson| Constructor and Description |
|---|
SimpleViewBranchFilter() |
| Modifier and Type | Method and Description |
|---|---|
List<TopLevelItem> |
filter(List<TopLevelItem> added,
List<TopLevelItem> all,
View filteringView) |
boolean |
isExcluded(Branch branch)
Tests if the supplied branch should be excluded.
|
abstract boolean |
isIncluded(Branch branch)
Tests if the supplied branch should be included.
|
all, getDescriptorpublic final List<TopLevelItem> filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
filter in class ViewJobFilterpublic boolean isExcluded(Branch branch)
branch - the Branch.true to exclude the branch from the view.Copyright © 2016–2019. All rights reserved.