public class WatchEventDTO extends Object
| Constructor and Description |
|---|
WatchEventDTO(OnClassFileEvent annotation) |
WatchEventDTO(OnResourceFileEvent annotation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(WatchFileEvent event)
Check if this handler supports actual event.
|
String |
getClassNameRegexp() |
FileEvent[] |
getEvents() |
String |
getFilter() |
String |
getPath() |
int |
getTimeout() |
boolean |
isClassFileEvent() |
boolean |
isOnlyRegularFiles() |
static <T extends Annotation> |
parse(T annotation)
Parse the annotation to fill in the container.
|
public WatchEventDTO(OnClassFileEvent annotation)
public WatchEventDTO(OnResourceFileEvent annotation)
public static <T extends Annotation> WatchEventDTO parse(T annotation)
public boolean isClassFileEvent()
public int getTimeout()
public FileEvent[] getEvents()
public String getClassNameRegexp()
public String getFilter()
public String getPath()
public boolean isOnlyRegularFiles()
public boolean accept(WatchFileEvent event)
event - file event fired by filesystemCopyright © 2018. All rights reserved.