public class RecursiveFileMatcher extends Object implements PathMatcher
basePath directory.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
RelPath |
getPath() |
String |
getPathOrGlob()
Returns a path or glob pattern identifying paths that should be matched by this matcher.
|
int |
hashCode() |
boolean |
matches(Path path) |
static RecursiveFileMatcher |
of(RelPath basePath) |
String |
toString() |
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.
|
public boolean matches(Path path)
matches in interface PathMatcherpublic RelPath getPath()
public com.google.common.collect.ImmutableList<?> toWatchmanMatchQuery(Set<Capability> capabilities)
PathMatcherpublic String getPathOrGlob()
PathMatcherpublic static RecursiveFileMatcher of(RelPath basePath)
basePath.