Returns Some[List[Callback]] registered for the path passed in
Returns Some[List[Callback]] registered for the path passed in
Path (Java type) to use for checking for callbacks
Some[Callbacks], which is essentially List[Callback]
Recursively performs an action given a directory path
Recursively performs an action given a directory path
Ignores all paths that are not directories. Uses the Java 7 API to walk a directory tree
Path object to a directory
Callback to perform on each subdirectory path
Unit
Returns a new instance of CallbackRegistry with the callback registered for the given path.
Returns a new instance of CallbackRegistry with the callback registered for the given path. If specified, the callback will be registered recursively for each subdirectory of the given path.
Some call this a monadic method
Path (Java type) to be registered for callbacks
Callback function that takes a Path as a parameter and has Unit return type
Boolean register the callback for each subdirectory
a new CallbackRegistry
Returns a new instance of CallbackRegistry without callbacks for the given path.
Returns a new instance of CallbackRegistry without callbacks for the given path. If specified, callbacks will be unregistered recursively for each subdirectory of the given path.
Some call this a monadic method
Path (Java type) to be unregistered
Boolean unregister callbacks for each subdirectory
a new CallbackRegistry
Immutable class for holding the callbacks for a given path
Should be instantiated via companion object above