Package hudson.views
Class AbstractIncludeExcludeJobFilter
- java.lang.Object
-
- hudson.views.ViewJobFilter
-
- hudson.views.AbstractIncludeExcludeJobFilter
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<ViewJobFilter>
- Direct Known Subclasses:
AbstractBuildTrendFilter
,BuildStatusFilter
,JobStatusFilter
,JobTypeFilter
,OtherViewsFilter
,ParameterFilter
,RegExJobFilter
,ScmTypeFilter
,SecuredJobsFilter
,SecurityFilter
,UnclassifiedJobsFilter
public abstract class AbstractIncludeExcludeJobFilter extends ViewJobFilter
- Author:
- Jacob Robertson
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractIncludeExcludeJobFilter.IncludeExcludeType
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description AbstractIncludeExcludeJobFilter(String includeExcludeTypeString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doFilter(List<TopLevelItem> filtered, List<TopLevelItem> all, View filteringView)
boolean
exclude(boolean matched)
List<TopLevelItem>
filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
protected void
filterItem(List<TopLevelItem> filtered, TopLevelItem item, boolean matched)
String
getIncludeExcludeTypeString()
boolean
include(boolean matched)
boolean
isExcludeMatched()
boolean
isExcludeUnmatched()
boolean
isIncludeMatched()
boolean
isIncludeUnmatched()
protected boolean
matches(TopLevelItem item)
-
Methods inherited from class hudson.views.ViewJobFilter
all, getDescriptor
-
-
-
-
Constructor Detail
-
AbstractIncludeExcludeJobFilter
public AbstractIncludeExcludeJobFilter(String includeExcludeTypeString)
-
-
Method Detail
-
isIncludeMatched
public boolean isIncludeMatched()
-
isIncludeUnmatched
public boolean isIncludeUnmatched()
-
isExcludeMatched
public boolean isExcludeMatched()
-
isExcludeUnmatched
public boolean isExcludeUnmatched()
-
getIncludeExcludeTypeString
public String getIncludeExcludeTypeString()
-
filter
public List<TopLevelItem> filter(List<TopLevelItem> added, List<TopLevelItem> all, View filteringView)
- Specified by:
filter
in classViewJobFilter
-
doFilter
protected void doFilter(List<TopLevelItem> filtered, List<TopLevelItem> all, View filteringView)
-
filterItem
protected final void filterItem(List<TopLevelItem> filtered, TopLevelItem item, boolean matched)
-
include
public boolean include(boolean matched)
-
exclude
public boolean exclude(boolean matched)
-
matches
protected boolean matches(TopLevelItem item)
-
-