@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface OnResourceFileEvent
| Modifier and Type | Required Element and Description |
|---|---|
String |
path
Prefix of resource path to watch.
|
| Modifier and Type | Optional Element and Description |
|---|---|
FileEvent[] |
events
Filter watch event types.
|
String |
filter
Regexp expression to filter resources.
|
boolean |
onlyRegularFiles
Watch only for regular files.
|
int |
timeout
Merge multiple same watch events up to this timeout into a single watch event (useful to merge multiple MODIFY events).
|
public abstract String path
public abstract String filter
public abstract FileEvent[] events
Copyright © 2018. All rights reserved.