Class FileMonitorAdapter
java.lang.Object
org.zeroturnaround.javarebel.integration.monitor.FileMonitorAdapter
An user of FileEventListener. Monitors the file with fsnotify if able or polls it if that feature is disabled.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a file to be monitored, those files will be checked to be up to date when dirty is calledvoidvoidaddRecursiveDir(URL url) voidaddRecursiveDir(org.zeroturnaround.javarebel.RebelSource rebelSource) voiddestroy()booleanbooleanisDirty()voidreset()toString()
-
Constructor Details
-
FileMonitorAdapter
public FileMonitorAdapter() -
FileMonitorAdapter
public FileMonitorAdapter(boolean onlyAdd)
-
-
Method Details
-
addFile
Adds a file to be monitored, those files will be checked to be up to date when dirty is called -
addRecursiveDir
-
addRecursiveDir
public void addRecursiveDir(org.zeroturnaround.javarebel.RebelSource rebelSource) -
addRecursiveDir
-
hasAnyPaths
public boolean hasAnyPaths() -
isDirty
public boolean isDirty() -
reset
public void reset() -
toString
-
destroy
public void destroy()
-