Package com.facebook.buck.io.filesystem
Interface PathMatcher
-
- All Superinterfaces:
PathMatcher
- All Known Implementing Classes:
ExactPathMatcher
,FileExtensionMatcher
,GlobPatternMatcher
,RecursiveFileMatcher
public interface PathMatcher extends PathMatcher
A contract for matchingPath
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPathOrGlob()
Returns a path or glob pattern identifying paths that should be matched by this matcher.com.google.common.collect.ImmutableList<?>
toWatchmanMatchQuery(Set<Capability> capabilities)
Transforms this matcher into a Watchman match query arguments matching the same set of paths as this matcher.-
Methods inherited from interface java.nio.file.PathMatcher
matches
-
-
-
-
Method Detail
-
toWatchmanMatchQuery
com.google.common.collect.ImmutableList<?> toWatchmanMatchQuery(Set<Capability> capabilities)
Transforms this matcher into a Watchman match query arguments matching the same set of paths as this matcher.
-
getPathOrGlob
String getPathOrGlob()
Returns a path or glob pattern identifying paths that should be matched by this matcher.
-
-