Package org.seedstack.maven.watcher
Class DirectoryWatcher
- java.lang.Object
-
- org.seedstack.maven.watcher.DirectoryWatcher
-
-
Constructor Summary
Constructors Constructor Description DirectoryWatcher(org.apache.maven.plugin.logging.Log log, FileChangeListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun()voidstop()voidwatch(Path dir)voidwatchRecursively(Path start)
-
-
-
Constructor Detail
-
DirectoryWatcher
public DirectoryWatcher(org.apache.maven.plugin.logging.Log log, FileChangeListener listener) throws IOException- Throws:
IOException
-
-
Method Detail
-
watchRecursively
public void watchRecursively(Path start) throws IOException
- Throws:
IOException
-
watch
public void watch(Path dir) throws IOException
- Throws:
IOException
-
stop
public void stop()
-
-