com.microsoft.tfs.core.clients.versioncontrol.localworkspace
Interface PathWatcherFactory
public interface PathWatcherFactory
A factory for PathWatcher
s.
- Thread-safety:
- thread-safe
newPathWatcher
PathWatcher newPathWatcher(java.lang.String path,
WorkspaceWatcher watcher)
- Gets a new
PathWatcher
that watches for filesystem changes at the
specified directory and in all subdirectories.
- Parameters:
path
- the local directory path to watch for changes (must not be
null
)watcher
- the WorkspaceWatcher
that the new PathWatcher
will
work for. The PathWatcher
may notify the
LocalWorkspaceScanner
directly of changes it detects.
- Returns:
- a new
PathWatcher
(never null
)
© 2015 Microsoft. All rights reserved.