Package io.jenkins.blueocean.dev
Class RecursivePathWatcher
java.lang.Object
io.jenkins.blueocean.dev.RecursivePathWatcher
Recursively watches directories for file changes only notifies
when files are added, modified, or deleted but tracks all
added/removed directories.
- Author:
- Keith Zantow <kzantow@gmail.com>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Events to listen to fromstart(PathEventHandler)
static interface
Used to receive events fromstart(PathEventHandler)
static interface
Allows filtering of specific subtrees -
Constructor Summary
ConstructorDescriptionRecursivePathWatcher
(Path root) RecursivePathWatcher
(Path root, RecursivePathWatcher.PathFilter pathFilter) -
Method Summary
Modifier and TypeMethodDescriptionvoid
start
(RecursivePathWatcher.PathEventHandler eventHandler) void
-
Constructor Details
-
RecursivePathWatcher
-
RecursivePathWatcher
-
-
Method Details
-
start
-
terminate
public void terminate()
-