@CompileStatic @ToString class WatchPattern extends Object
Constructor and description |
---|
WatchPattern() |
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
matchesPath(String path) Whether the given path matches this watch pattern |
The directories being watched, if any
The file extensions within the directories being watched
A concrete file being watched, if any
The pattern. Eg. file:./grails-app/conf/spring/resources.xml
Whether the given path matches this watch pattern
path
- A file path