Package org.jboss.modules.filter
Class MultiplePathFilterBuilder
- java.lang.Object
-
- org.jboss.modules.filter.MultiplePathFilterBuilder
-
public class MultiplePathFilterBuilder extends java.lang.ObjectA builder for a multiple-path filter.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFilter(PathFilter filter, boolean include)Add a filter to this builder.PathFiltercreate()Create the path filter from this builder's current state.booleanisEmpty()Determine if this filter builder is empty (i.e. has no path filters set on it).
-
-
-
Method Detail
-
addFilter
public void addFilter(PathFilter filter, boolean include)
Add a filter to this builder.- Parameters:
filter- the filter to addinclude-trueif matching paths should be included,falsefor excluded
-
create
public PathFilter create()
Create the path filter from this builder's current state.- Returns:
- the path filter
-
isEmpty
public boolean isEmpty()
Determine if this filter builder is empty (i.e. has no path filters set on it).- Returns:
trueif this builder is empty,falseotherwise
-
-