@groovy.transform.CompileStatic @groovy.transform.ToString class WatchConfig
A configuration for watching files for changes
Type | Name and description |
---|---|
java.io.File |
directory The directory to watch |
java.util.List<java.lang.String> |
extensions The file extensions to watch |
java.lang.String |
name The name of the config |
java.util.List<java.lang.String> |
tasks The tasks to execute |
Constructor and description |
---|
WatchConfig
(java.lang.String name) |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
tasks(java.lang.String... tasks) The tasks to trigger when a modification event is received |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |