public abstract class SimpleViewBranchFilter
extends hudson.views.ViewJobFilter
ViewJobFilter
that will filter based on the Branch
that a job in a
MultiBranchProject
belongs to.Constructor and Description |
---|
SimpleViewBranchFilter() |
Modifier and Type | Method and Description |
---|---|
List<hudson.model.TopLevelItem> |
filter(List<hudson.model.TopLevelItem> added,
List<hudson.model.TopLevelItem> all,
hudson.model.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.
|
public final List<hudson.model.TopLevelItem> filter(List<hudson.model.TopLevelItem> added, List<hudson.model.TopLevelItem> all, hudson.model.View filteringView)
filter
in class hudson.views.ViewJobFilter
public boolean isExcluded(Branch branch)
branch
- the Branch
.true
to exclude the branch from the view.Copyright © 2016–2017. All rights reserved.