Class AbstractFilter
- java.lang.Object
-
- org.nuxeo.runtime.deployment.preprocessor.install.filters.AbstractFilter
-
- All Implemented Interfaces:
PathFilter
- Direct Known Subclasses:
ExcludeFilter
,IncludeFilter
public abstract class AbstractFilter extends Object implements PathFilter
- Author:
- Bogdan Stefanescu
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractFilter(Path pattern)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(Path path, boolean defaultPolicy)
static boolean
segmentMatch(String pattern, String segment)
protected static boolean
segmentsMatch(Path pattern, Path path)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.common.utils.PathFilter
accept, isExclusive
-
-
-
-
Constructor Detail
-
AbstractFilter
protected AbstractFilter(Path pattern)
-
-
Method Detail
-
segmentsMatch
protected static boolean segmentsMatch(Path pattern, Path path)
-
segmentMatch
public static boolean segmentMatch(String pattern, String segment)
-
-