Class FileWatcher.Builder
- java.lang.Object
-
- org.curioswitch.common.server.framework.files.FileWatcher.Builder
-
- Enclosing class:
- FileWatcher
@Singleton public static class FileWatcher.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileWatcher
build()
boolean
isEmpty()
FileWatcher.Builder
registerPath(java.nio.file.Path path, java.util.function.Consumer<java.nio.file.Path> callback)
-
-
-
Method Detail
-
registerPath
public FileWatcher.Builder registerPath(java.nio.file.Path path, java.util.function.Consumer<java.nio.file.Path> callback)
-
isEmpty
public boolean isEmpty()
-
build
public FileWatcher build()
-
-