@groovy.transform.CompileStaticCompileStatic @groovy.transform.ToStringToString class WatchConfig extends java.lang.Object
A configuration for watching files for changes
Type | Name and description |
---|---|
private File |
directory The directory to watch |
private java.util.List |
extensions The file extensions to watch |
private java.lang.String |
name The name of the config |
private java.util.List |
tasks The tasks to execute |
Constructor and description |
---|
WatchConfig
(java.lang.String name) |
WatchConfig
() |
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() |
The directory to watch
The file extensions to watch
The name of the config
The tasks to execute